[Xapian-discuss] Exclude field in query

Olly Betts olly at survex.com
Tue Feb 14 16:33:04 GMT 2006


On Tue, Feb 14, 2006 at 05:36:40PM +0200, David Levy wrote:
> Dealing with scriptindex, would it mean that :
> 
> name: index index=S field=caption value=5 index=XALLBUTDESC
> brand: index index=XBRAND field=brand index=XALLBUTDESC
> description: unhtml index field=sample
> 
> ?
> So my queries using the prefix XALLBUTDESC will search in "name" and "brand"
> fields only ?

Yes.  And unprefixed queries will search all 3 fields, while prefixes of
S and XBRAND will search just name or brand respectively.

Cheers,
    Olly



More information about the Xapian-discuss mailing list