Personal tools
You are here: Home Documentation How-tos Search Tips
Document Actions

Search Tips

This How-to applies to: 2.0, 2.1, 2.5

This Howto describes more in depth the search features in a Plone site. It includes information about the syntax you can use in a site for more advanced features (available from the basic search window).

The basic Plone search box includes several features you can take advantage of to refine the accuracy of your searches, making it easier for you to find what you need. This Howto explains the syntax options available for more targeted searching.

You can access the advanced search screen by typing search_form at the end of your site domain.

Example: www.yourwebsite.org/search_form

Visit the LearnPlone advanced search page

Automatic "AND"

By default, if you enter a string of words in the search criteria, the "and" operator is used. For example:

heart disease africa

would find any content containing all of those words.

 

"NOT"

To make combinations of words required, use the "NOT" operator. The hyphen acts as the "NOT" operator. For example,

hiv africa -children
would return results that contained both HIV and Africa, but not

children.

 

Variations on a word

Results will vary based on variations of the root word. For example, singular vs plural versions of the same word. If you want to include any variation of the root word, you can add a "wildcard" to your search syntax. Two ways to do this, include:

  • Add "*" to the criteria, which allows any variation on the root. ie tree* would give results for tree, trees, treeline, etc
  • Add "?" to the criteria, which allows any variation of only one letter. ie An? would give results for and, any, ann, etc.

Search for a phrase

To search for an entire, exact phrase, enclose the phrase in quotations. For example,

"heart disease in africa"

would return content that contained that whole phrase.

 

Additional Notes:

 

by Christopher Johnson last modified 2008-01-31 09:14 All content on this site is licensed under a Creative Commons License.
Still Stumped?
If you've still got questions about Plone, here are your best bets for finding out more:
 

All content in this site distributed under the Creative Commons "Attribution-NonCommercial-ShareAlike" license unless otherwise noted.

Powered by Plone CMS, the Open Source Content Management System