Searching on "multiword phrases" [message #21812] |
Sat, 18 December 2004 10:46 |
srchild
Messages: 88 Registered: December 2003 Location: UK
Karma: 1
|
Member |
|
|
AIUI FUDforum search works very quickly because you have pre-indexed all the words.
Now a user asks me if it is possible to search on phrases instead of on individual words, e.g. to narrow a search on forum AND users by instead searching on "forum users".
I suspect not, and I suspect that because of the way you have implemented the search it wouldn't be easy to add this on.
Does it sound possible to implement this?
Another strategy would be to use another indexer such as http://htdig.org - but for forums which are not readable by anonymous users is there any way to give access to htDig??
Simon Child
|
|
|
Re: Searching on "multiword phrases" [message #21817 is a reply to message #21812] |
Sat, 18 December 2004 17:20 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
FUDforum search works just fine on multi-word phrases, it'll match all words in the phrase using either AND or OR logic depending on what is aked by the user.
FUDforum Core Developer
|
|
|
Re: Searching on "multiword phrases" [message #21819 is a reply to message #21817] |
Sat, 18 December 2004 17:27 |
srchild
Messages: 88 Registered: December 2003 Location: UK
Karma: 1
|
Member |
|
|
Ilia wrote on Sat, 18 December 2004 17:20 | FUDforum search works just fine on multi-word phrases, it'll match all words in the phrase using either AND or OR logic depending on what is aked by the user.
|
Yes it does. But it doesn't (so far as I can see) distinguish between whether the words are adjacent, or just that they are both somewhere in the document?
An example may help. If I want to find only records containing the phrase "forum users" and I search on forum AND users, I will find not only examples of 'forum users' but also other records containing phrases such as 'Car users who visit this forum will not find much information here'. I didn't want to find that record, I wanted to find information about 'forum users'.
This is more relevant if the words are common words and so may occur frequently but are only of interest if they make a single phrase. The real example for my user was that in a technical group he wanted to search on "time server" and he encountered a lot of hits on 'server' and 'time' but none on time servers.
Simon Child
|
|
|
|