[Xapian-devel] FLAG_PARTIAL and subset words

Olly Betts olly at survex.com
Mon May 16 21:27:49 BST 2011


On Mon, May 16, 2011 at 01:14:27PM +0200, Greg wrote:
> "volvo v"::
> Xapian::Query((Zvolvo:(pos=1) AND ((v90:(pos=2) SYNONYM volvo:(pos=2))
> OR Zv:(pos=2))))
> as you can see here the trailing "v" expands into volvo and get
> matched to "volvo s60"

Yes, this is what I was trying to explain in my previous message.

> [...]
> I'm not sure if that's intended ie. having both volvo and v match the same term.

Well, "volvo" starts with a "v", so it's certainly a valid completion of
the query.

Cheers,
    Olly



More information about the Xapian-devel mailing list