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.

      

    Operator Alternate Symbol Description Example
    OR || Requires that either term (or both terms) be present for a match.

    msp430 OR clock OR jitter will return posts containing any of those three terms, as well as combinations of them.

    OR is the default Boolean operator, so msp430 clock jitter will return same results as msp430 OR clock OR jitter

    AND && Requires both terms on either side of the Boolean operator to be present for a match. msp430 AND jitter will return posts containing both terms
    NOT ! Requires that the following term not be present. msp430 NOT jitter will return results for “msp430” but the word “jitter” must not appear in the search results.
    Quotes/Grouping Quotes indicate that the exact phrase contained in them must be included in results. "msp430 clock jitter” will return any posts containing this exact phrase.
    * * Is a wildcard that indicates any content can be contained in its place. reg* will return results for "registered," "registering," or "registration."
    - The - operator is functionally similar to the Boolean operator !. Because it’s used by popular search engines such as Google, it may be more familiar to some user communities. Registration -event will return results for “registration” but the word “event” must not appear in the search results.

      

      

    Field Search

    SOLR allows you to query specific fields in the post to help narrow your search. The following fields are particularly useful:

      

    Field Description Example
    tagkeyword: This allows you to search for a specific tag. The tag MUST be entered as lower case, but otherwise match exactly, for this field search to return any results. tagkeyword:msp430 will return posts with the tag "msp430" or "MSP430".
    userdisplayname: This allows you to search for posts by a specific user. Note that you need to put quotes around the userdisplayname to account for the space. userdisplayname:"john doe" will return all posts that user John Doe has made.
    thread: This allows you to search for threads by the 6 digit thread ID number. thread:692039 will return only thread 692039 in the search results.