» List all forums
» » Forum: Xiphos
» » » Thread: [SOLVED] search in xiphos
|Print at Jul 27, 2016 12:58:13 AM||View all posts in this thread on one page|
|Posted by pete at Sep 6, 2013 8:47:07 AM|
[SOLVED] search in xiphos
I have tried without success to search for a single word , for example I searched for the word
fool and I got not only fool but foolish . Is there a way to find just the word one asks for ?
Any help would be be most welcome
|Posted by karl at Sep 6, 2013 2:45:31 PM|
Re: search in xiphos
for example I searched for the word fool and I got not only fool but foolish
The sidebar search attempts to use optimized ("lucene") searches, but in the absence of the tokenized index needed for lucene, it silently falls back to simple search. The result is that the simple search is a trivial linear search for the word offered, preceded by whitespace or punctuation, and so it does indeed find anything that stems out of "fool."
To get the effect desired, open the module manager, go to the maintenance page, and create the index for the module(s) in question; then optimized search will find exactly just "fool" due to lucene's use of the tokenized index. Optionally, with optimized/lucene search, you can get the effect of the original search using "fool*" as a wildcard tail on the stem.
The advanced search window is more explicit about telling you when it is falling back to simple search.
Project Admin, Xiphos
|Posted by pete at Sep 7, 2013 1:50:14 AM|
[SOLVED] Re: search in xiphos
Many thanks for your help, it's fine now.
Current timezone is GMT
Jul 27, 2016 12:58:13 AM