This thread contains E2E search tips and tricks. This should help users take better advantage of the capabilities that are available in the E2E Search feature.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Supported Search Syntax
SOLR supports the following search syntax. These search operations can be combined.
|*||reg*||* Is a wildcard that indicates any content can be contained in its place, such as "registered," "registering," or "registration."|
|AND||registration AND class||AND indicates that the terms before and after it must be included in the results.|
|OR||registration OR class||OR indicates that either term before or after it can be included in the results.|
|Quotes/Grouping||"client API"||Quotes indicate that the exact phrase contained in them must be included in results.|
|Field query||title:enrollment||Fields narrow results by type, for example "type:forum."|
|-||registration -event||- Indicates a term that must be omitted from results. In the example shown, the word "event" must not appear in the search results.|
The default behavior for the search box is "OR". For example, typing in msp430 clock jitter will return posts containing any of those three terms, as well as combinations of them.
To return posts containing the exact phrase "msp430 clock jitter", add the quotes as shown. This will return any posts containing this exact phrase.
To return posts containing all three search terms, you would use the AND function: msp430 AND clock AND jitter.
Search will return much better results if you give it multiple key words.
For example, a search for a part number, or a single search term, like "MSP430"or "jitter", will return thousands of results. If you instead enter "MSP430 how does USCI work?" or "clock jitter on AM3352 input", you should get results that are more reasonable. The more specific you can be, the better your chances of getting good search results.
SOLR allows you to query specific fields in the post to help narrow your search. There are some fields here that are particularly useful:
Field: tagkeyword - this allows you to search for a specific tag. To search for a specific tag in the tag field, enter tagkeyword:<tag> into your search box. For example, tagkeyword:msp430 will return posts with the tag "msp430" or "MSP430". The tag MUST be entered as lower case, but otherwise match exactly, for this field search to return any results. For example, entering tagkeyword:MSP430 will return no results.
Field: userdisplayname - this allows you to search for posts by a specific user. For example, userdisplayname:"john walker" will return all posts that I've made. Note that you need to put quotes around the userdisplayname to account for the space.
Field: thread - this allows you to search for threads by the 6 digit thread ID number. For example, entering thread:692039 in the search box will return only thread 692039 in the search results.