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.

[FAQ] E2E Search Advanced Tips and Tricks

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.

Supported Search Syntax

SOLR supports the following search syntax. These search operations can be combined.

Operation Example Description
* 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.

Some examples:

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.

Field Search

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 MATCH EXACTLY if you use tagkeyword.

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. 

John Walker
Online Support - Systems & Tools
Texas Instruments, Inc.