[Xapian-discuss] Scriptindex, what am I doing wrong?
Olly Betts
olly at survex.com
Sat Nov 4 12:36:15 GMT 2006
On Sat, Nov 04, 2006 at 07:01:55AM -0500, Jim Lynch wrote:
> I search for the word "word" and it finds hundreds, I search for the
> word "words" it finds none. I'm thinking scriptindex is stemming and
> omega is not. Is that true?
Yes - that's what you've told omega to do:
> $set{stemmer,none}
If you don't want stemming, you also need to stop scriptindex stemming
by using "scriptindex --stemmer=none". If you do want stemming, remove
"$set{stemmer,none}".
> $setmap{title,S}
> [...]
> The setmap is there. Is it constructed correctly?
No, it should be: $setmap{prefix,title,S}
This was incorrectly documented in docs/termprefixes.txt (fixed in 0.9.7).
I think $setmap should complain if the number of parameters is even to
catch this error. Currently it just ignores the last argument silently.
Cheers,
Olly
More information about the Xapian-discuss
mailing list