_


Search the PowerSeek SQL Knowledge Base:

_
PowerSeek :: PowerSeek Knowledge Base :: Searching
_
Question: Is it possible to configure the Search Engine so that when two words are entered as keywords that it only displays matches containing both of the words?

Answer: You can set the search parameters of search.cgi by editing search.cgi to give this kind of match a very high relevance so that links that matches this way are displayed first. Note that other types of matches will also be displayed but this type of match can be set to receive the highest relevance which will result in links that matches this way displaying first.

To edit search.cgi to set up matching this way open search.cgi with a Unix compatible text editor like Textpad. Textpad can be downloaded from textpad.com

Open search.cgi and look for the line reading: (near the top of the file)

$and_match_score_adding = 100;

change it so that it looks like this:

$and_match_score_adding = 1000;

Note that you have to use PowerSeek's 'relevance formula' for this to work. To set PowerSeek to use it's own 'relevance formula' or search algorythm go to the PowerSeek Control Panel >> Settings >> Global Engine Settings >> 4. Search Settings

Also See:

User Comments:

There are currently no comments available.
_
Add a Comment - Only post comments regarding this KB entry
If you need to get in contact with us then click here.
Name:
Email: (Optional)
Comment:



Type in the letters that apear in the image box

_
PowerSeek Knowledge Base Categories: