[Xapian-discuss] omega and searching specific fields
Olly Betts
olly at survex.com
Mon Mar 7 15:44:03 GMT 2005
Hmm, I should check if there's a thread before replying...
On Mon, Mar 07, 2005 at 10:43:01AM +0000, James Aylett wrote:
> I'm pretty sure you don't want or need boolean=Q and unique=Q on the
> same line. unique=Q should be enough.
That's wrong - you do need both.
> For artist, you want something like:
>
> ----------------------------------------------------------------------
> artist: lower field=artist index=<PREFIX>
> ----------------------------------------------------------------------
>
> You might want to do it against with a non-prefixed index, as well (so
> it can be matched in a 'general' search).
That's true. If so something like:
artist: field=artist index index=XART
> It's possible there's an easy solution to this by choosing the prefix
> correctly;
Yes - the prefix needs to be all uppercase. And either a single letter,
or to start with X. The document I wrote recently discusses this.
Cheers,
Olly
More information about the Xapian-discuss
mailing list