Legacy Knowledge Base
Published Jul. 2, 2025

Knowledge Base Search Operators

Written By

Liferay Support

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

This article lists a few simple search operators that may be used to improve search results within the Liferay Support Knowledge Base.

Resolution

While the current search capabilities are generally adequate for finding sought-after content, some searches may benefit from the use of search operators. Here are a few common operators:

  1. "_____" (Quotes)
    • Putting quotes around a phrase forces search to look for an exact match of that "phrase" (instead of returning results that have either of those words)
    • e.g. "support policy" will return pages with exact phrase: "Support Policy" (if you didn't use the quotes, you'd get every article with either "support" or "policy")
  2. - (Hyphen)
    • The '-' before a word will cause search to exclude any articles that contain that word!
    • e.g. LDAP -"support policy" will return any article with "LDAP" but will exclude articles that contain the phrase "Support policy".
  3. title:
    • Entering 'title:' before a word will perform a search for the following text in the title of the article rather than the body.
    • e.g. title:SSO will turn up articles with SSO in the title (3 search results) as opposed to a plain 'sso' search which will include any article with the 'sso' string in the body (60 results)
  4. +
    • This is a way to indicate that a term must be in a search when there are multiple words.
    • e.g. +lucene "known issue" will return results that contain 'lucene' and may contain 'known issue'
    • +lucene +"known issue" will return results that contain 'lucene' and contain 'known issue'​​

In addition to some of these basic operators, there are a number of other more advanced operators that may be of value in some instances:​​

  1. ^ (Boost)
    • ​This allows you to "boost" the relevance of a word.
    • e.g. index^4 lucene will favor the word 'index' more than lucene.
  2. ​AND
    • Allows you to search for articles that contain multiple search terms (rather than either search term)​
    • e.g. solr AND lucene will return articles with both 'solr' and 'lucene' in the article
  3. ​NOT
    • ​​Allows you to search for articles that do not include certain search terms.
    • e.g. solr NOT lucene will return articles with ther term 'solr' and not 'lucene'

​​Additional Information

For more on Lucene-based search operators, see their article here.

Did this article resolve your issue ?

Legacy Knowledge Base