Webboard: Boolean search with synonym files

[email protected]
Newsgroups gmane.comp.web.mnogosearch.general
Message-ID <[email protected]>
Author: Amar Bouchibane
Email: [email protected]
Message:
Hi,



when using boolean search and at least one synonym file search won't find records if the query string doesn't represent the words in exact order.



e.g.:

A record with a title "Windows 7 - Activate screensaver" is indexed.



I do a boolean search without any synonym files loaded.

The query is:

	"activate&windows&screensaver"

The record will be found! Perfect!



Now I specify two synonym files ...

	Udm_Set_Agent_Param($udm_agent, UDM_PARAM_SYNONYM, '/anywhere/file01.syn');

	Udm_Set_Agent_Param($udm_agent, UDM_PARAM_SYNONYM, '/anywhere/file02.syn');



When using the same query ...

	"activate&windows&screensaver"

... the record won't be found.



The engine only finds the record when using the query ...

	"windows&activate&screensaver"

... i.e. only when the words in the query are in exact sequence with the title of the record.



Is this an error or works this as designed?



best regards,

Amar

Reply: <http://www.mnogosearch.org/board/message.php?id=21109>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.