Using the Forum's Search Feature!

Please post questions or comments about the site or the forum here.
User avatar
Hawk
The Big Dawg
Posts: 6503
Joined: Fri Nov 10, 2006 10:28 am
Location: North Georgia - USA

Using the Forum's Search Feature! Unread post

6 Search - How to Find What You are Looking For

As the board grows and accumulates posts, it becomes difficult to find specific content quickly. To aid in finding posts, phpBB contains a search utility. Common searches are offered in the form of links on the index (new posts, unanswered posts, etc.), keyword searches canbe performed from the header, forum view, and topic view (in supported styles), and custom search queries can be created using the Advanced Search feature.

6.1. Predefined searches

phpBB comes with several predefined searches to easily perform certain types of queries.
  • • View your posts - Returns a list of topics that you have posted in, sorted by the time of the last post in the topic.
  • • View unanswered posts - Returns all posts which contain no replies.
  • • View unread posts - Returns a list of topics containing posts which you have yet to read.
  • • View new posts - Returns a list of topics containing posts which have been made since the last time you logged in.
  • • View active topics - Returns a list of topics which have been posted in during the last few days. The number of days can be changed after loading the search page.
6.2. Forum and topic search

Some styles provide search fields on the forum view and the topic view. These fields allow you to perform a keyword search within the forum or within the current topic.

Search within topics
search1.jpg
search1.jpg (3.41 KiB) Viewed 7403 times
Search field within a topic.

6.3. Advanced search

In addition to the predefined searches provided by phpBB, it is possible to create your own search queries. Searches can based on keywords, author, and forum selections.

6.3.1. The search query

In order to perform a search of the board, you must specify what it is that you would like to search for. You can specify keywords to search for as well as a post author. Two query options are provided for performing the search:
  • • Search for all terms or use query as entered - If multiple keywords are provided, all keywords must be found in the result. Alternatively, you can provide a query using special identifiers.
  • • Search for any terms - If multiple keywords are provided, then results containing any of the provided keywords will be returned.

6.3.1.1. Keywords

In addition to supplying keywords, special identifiers can be used to add or detract from the importance of certain words.

Identifiers:
  • + When placed before a keyword, that keyword must be found in the result text.
  • - When placed before a keyword, that keyword must not be present in the result text.
Examples:
  • +dog -cat Returns results which contain the word "dog", but not "cat".
  • | This token can be used to separate a list of keywords, of which at least one of the keywords should be found in the text. Words may be placed inside of parentheses and combined with a + or - to indicated that at least one of the words must or must not appear in each result.
Examples:
  • dog|cat Returns results which contain either the word "dog" or the word "cat".
  • -(dog|cat) Returns results which contain neither the word "dog" nor the word "cat".
  • * An asterisk in a keyword allows for partial keyword matches.
Examples:
  • cat* Returns results which begin with the word "cat", such as "cats" and "catastrophe".
6.3.1.2. Author

The search query can be further refined by providing the author of the post. If an author is specified, then only posts made by that author which meets the query requirements will be returned. The author field allows for the use of wildcards (*) to perform partial matches on the author name.

6.3.2. The search options

Searches can be further restricted to specific forums or specific parts of the topics.
  • • Search in forums - Here you can select specific forums in which the search should be performed. Multiple forums can be selected by holding down the "control" or "command" key.
  • • Search in subforums - If this option is selected, then any subforums of the selected forums will be searched as well.
    • • Search within - This allows you to specify which part of the posts should be searched.
    • • Post subjects and message text - Both the post subject and the post body will be searched.
    • • Message text only - Only the body of the posts will be searched and not its title.
    • • Topic titles only - Only the topic titles will be searched.
    • • First post of topics only - The first post of each topic will be searched and no other posts in the topic.
  • • Display results as - This option formats the search results to only show either the post contents or just topic titles.
  • • Sort results by - Orders the results based on either author, post time, forum, topic title or post subject. The results can be displayed in ascending or descending order.
  • • Limit results to previous - Limits the results to posts made in specific time frame.
  • • Return first - Formats the results to only contain a specific number of characters of the matching posts.
6.3.3. Further refinement

On the result page, it is possible to further refine your search by providing more search terms.

Search refinement
search2.jpg
search2.jpg (7.17 KiB) Viewed 7403 times
Refining the search results to include the word "cat".
Hawk
RayofSunshine
CEO
Posts: 1288
Joined: Sat Nov 11, 2006 12:04 pm
Location: Colorado Springs, CO

Re: Using the Forum's Search Feature! Unread post

These are some very useful suggestions for those of us who are computer illiterate, or very limited knowledge in the matter of using the "search" system. Some items are possibly known, but not necessarily knowlegable of all aspects. So thanks for the info Hawk. !*th_up*! :salute: {,0,}
Post Reply