SMF2.1:Search (admin): Difference between revisions From Online Manual

Jump to: navigation, search
 
m (→‎Search Index: fixed contraction)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{versions|versions}}
{{WIP}}
{{versions|versionsmore}}
{{TOCright}}
In the ''Admin Center > Forum > Search'' sub-menu, there are three tabs or pages of options to set: ''Weights, Search Method,'' and ''Settings''. Administrators can use them to configure how their forum search feature performs. Please see the [https://wiki.simplemachines.org/smf/SMF2.1:Search Search] manual page, to learn how to use the forum search features, after the administrator has configured them. (Of course this is entirely a different feature than the similarly named ''Search Engines'' page.)


{{TOCright}}
== Weights ==
== Weights ==
On the '''Weights''' page you can control some weights for searching to help you control what type of search results you get.
On the ''Admin Center > Forum > Search > Weights'' page, you can configure weights, which control how the search results are presented to users. Weight factors are used to determine the relevancy of a search result. Change these weight factors to indicate which type of results are specifically important for your forum. For instance, a forum of a news site, might want a relatively high value for ''Relative search weight for age of last matching message'' so that those results are presented first. All values are relative to each other and should be positive integers.
 
* ''' Relative search weight for number of matching messages within a topic''' -  This factor counts the number of matching messages and divides them by the total number of messages within a topic.
* '''Relative search weight for age of last matching message''' - This factor rates the age of the last matching message within a topic. The more recent this message is, the higher the score.
* '''Relative search weight for topic length''' - This factor is based on the topic size. The more messages are within the topic, the higher the score.
* '''Relative search weight for a matching subject''' - This factor looks at whether a search term can be found within the subject, or title of a topic.
* '''Relative search weight for a first message match''' - This factor looks at whether a match can be found within the first message of a topic.
* '''Relative search weight for a sticky topic''' - This factor looks at whether a topic is sticky and increases the relevancy score if it is.


* ''' Relative search weight for number of matching messages within a topic''' - Weight factors are used to determine the relevancy of a search result. Change these weight factors to match the things that are specifically important for your forum. For instance, a forum of a news site, might want a relatively high value for 'age of last matching message'. All values are relative in relation to each other and should be positive integers. This factor counts the amount of matching messages and divides them by the total number of messages within a topic.
After you finish configuring the weights for the search results in your forum, be sure to click the '''''Save''''' button in the bottom right corner.
* '''Relative search weight for age of last matching message''' - Similar to the above. This factor rates the age of the last matching message within a topic. The more recent this message is, the higher the score.
* '''Relative search weight for topic length''' - Similar to the above. This factor is based on the topic size. The more messages are within the topic, the higher the score.
* '''Relative search weight for a matching subject''' - Similar to the above. This factor looks whether a search term can be found within the subject of a topic.
* '''Relative search weight for a first message match''' - Similar to the above. This factor looks whether a match can be found in the first message of a topic.
* '''Relative search weight for a sticky topic''' - This factor looks whether a topic is sticky and increases the relevancy score if it is.


== Search Method ==
== Search Method ==
On the '''Search method''' page you can select the method of searching that you would like to use that impacts the results from searching. The following methods of searching are available:
On the ''Admin Center > Forum > Search > Search Method'' page, first, be sure to read the little Help window by clicking on the text link '''Why create a search index?''' if you do not already clearly understand these options.


*'''No Index''' - Check this if you want no search index to be created when searching your forum.
Before choosing your search method, you can see the current size of these two areas in the database, in KB values:
*'''Fulltext index''' - Check this if you want to use a fulltext index when searching your forum. You will need to click on the link below: [create fulltext index] first before you can select this option.
*'''Space used by forum messages in the database:'''
*'''Custom index''' - Check this if you want to use a custom index when searching your forum. You will need to click on the link below: [create custom index] first before you can select this option.
*'''Space used to index messages in the database:'''
The size of these areas in the database are important because some of the search methods, or indices, use them, which can potentially result in using a lot of server space. Their values will help you decide which settings are best for your forum.
 
====Search Index====
*'''No Index''' - Click this if you do not want to create a search index for your forum.
*'''Fulltext index''' - If you want to use a fulltext index when searching your forum, first click the text link, ''[create fulltext index]''. Follow the prompts, and when the process is finished, you can tick the '''Fulltext index''' button.
*'''Custom index''' - If you want to use a custom index when searching your forum, first click the text link, ''[create custom index]''. Follow the prompts, and when the process is finished, you can tick the '''Custom index''' button.
 
====Search Method====
*'''Force the use of a search index:''' Checking this will force the use of a search index.
*'''Force the use of a search index:''' Checking this will force the use of a search index.
*'''Match whole words only:''' - Using this will match only full words when searching. An example can be if a post has the word 'strictly' in it. When searching for 'strict' with this option checked, you will not get any results back, but with the option unchecked, you will get results.
*'''Match whole words only:''' - Using this will match only full words when searching. An example can be if a post has the word 'strictly' in it. When searching for 'strict' with this option checked, you will not get any results back, but with the option unchecked, you will get results.
Finally, be sure to click the '''''Save''''' button in the bottom right corner, after you finish making those choices.


==Settings==
==Settings==
*'''Membergroups with access to the search function''' - Choose which membergroups have access to the search function and set the permissions for each group.
On the ''Admin Center > Forum > Search > Settings'' page are a few more general options to consider.
* '''Enable simple search''' - This will show a simple search form and a link to a more advanced form.
*'''Membergroups with access to the search function''' - Choose which membergroups can help administrators configure the search feature.
* '''Number of search results per page''' - The amount of results per page that will be shown after searching for a string.
* '''Number of search results per page''' - Set how many search results will be displayed per page.
*'''Maximum results to show''' - Select the maximum number of results a search will show.
*'''Maximum results to show''' - Set the maximum number of results you want for each single a search. Set to zero for no limit.
*'''Time required between searches from same user''' - Select the number of seconds between searches performed by a forum member.
*'''Time required between searches from same user''' - Set how many seconds you want users to wait between searches. Set to zero for no limit.
 
Be sure to click the '''''Save''''' button in the bottom right corner, after you finish setting the options.


{{ {{Localized|As an administrator 2.1}}}}
{{ {{Localized|As an administrator 2.1}}}}

Latest revision as of 01:08, 1 January 2024

Under construction-48.png Work in progress, expect frequent changes. Under construction-48.png

Please see SMF1.1:Search (admin), SMF2.0:Search (admin) or SMF2.1:Search (admin) depending on the version of SMF you are using.

In the Admin Center > Forum > Search sub-menu, there are three tabs or pages of options to set: Weights, Search Method, and Settings. Administrators can use them to configure how their forum search feature performs. Please see the Search manual page, to learn how to use the forum search features, after the administrator has configured them. (Of course this is entirely a different feature than the similarly named Search Engines page.)

Weights

On the Admin Center > Forum > Search > Weights page, you can configure weights, which control how the search results are presented to users. Weight factors are used to determine the relevancy of a search result. Change these weight factors to indicate which type of results are specifically important for your forum. For instance, a forum of a news site, might want a relatively high value for Relative search weight for age of last matching message so that those results are presented first. All values are relative to each other and should be positive integers.

  • Relative search weight for number of matching messages within a topic - This factor counts the number of matching messages and divides them by the total number of messages within a topic.
  • Relative search weight for age of last matching message - This factor rates the age of the last matching message within a topic. The more recent this message is, the higher the score.
  • Relative search weight for topic length - This factor is based on the topic size. The more messages are within the topic, the higher the score.
  • Relative search weight for a matching subject - This factor looks at whether a search term can be found within the subject, or title of a topic.
  • Relative search weight for a first message match - This factor looks at whether a match can be found within the first message of a topic.
  • Relative search weight for a sticky topic - This factor looks at whether a topic is sticky and increases the relevancy score if it is.

After you finish configuring the weights for the search results in your forum, be sure to click the Save button in the bottom right corner.

Search Method

On the Admin Center > Forum > Search > Search Method page, first, be sure to read the little Help window by clicking on the text link Why create a search index? if you do not already clearly understand these options.

Before choosing your search method, you can see the current size of these two areas in the database, in KB values:

  • Space used by forum messages in the database:
  • Space used to index messages in the database:

The size of these areas in the database are important because some of the search methods, or indices, use them, which can potentially result in using a lot of server space. Their values will help you decide which settings are best for your forum.

Search Index

  • No Index - Click this if you do not want to create a search index for your forum.
  • Fulltext index - If you want to use a fulltext index when searching your forum, first click the text link, [create fulltext index]. Follow the prompts, and when the process is finished, you can tick the Fulltext index button.
  • Custom index - If you want to use a custom index when searching your forum, first click the text link, [create custom index]. Follow the prompts, and when the process is finished, you can tick the Custom index button.

Search Method

  • Force the use of a search index: Checking this will force the use of a search index.
  • Match whole words only: - Using this will match only full words when searching. An example can be if a post has the word 'strictly' in it. When searching for 'strict' with this option checked, you will not get any results back, but with the option unchecked, you will get results.

Finally, be sure to click the Save button in the bottom right corner, after you finish making those choices.

Settings

On the Admin Center > Forum > Search > Settings page are a few more general options to consider.

  • Membergroups with access to the search function - Choose which membergroups can help administrators configure the search feature.
  • Number of search results per page - Set how many search results will be displayed per page.
  • Maximum results to show - Set the maximum number of results you want for each single a search. Set to zero for no limit.
  • Time required between searches from same user - Set how many seconds you want users to wait between searches. Set to zero for no limit.

Be sure to click the Save button in the bottom right corner, after you finish setting the options.

Main

Configuration

Forum

Members

Maintenance

Miscellaneous




Advertisement: