[Xapian-discuss] Search for negation

Richard Boulton richard at lemurconsulting.com
Tue Sep 16 19:14:55 BST 2008


Daniel Enright wrote:
> Hi,
> 
> What is the flag to enable this feature? I assume it is enabled with
> -enable-FEATURE[=ARG]
> 
> Is there a complete list of available feature flags available?  As
> ./configure -help doesn't list them.
> 
> Has this particular feature made it into 1.0.8?

Yes.  In fact, I believe it's been available since 1.0.0.

It's not enabled by a configure flag, though.  Such flags are for items 
which it doesn't always make sense to compile into the library.  The 
flag you're looking for is part of the query parser, and is accessed 
through the API for the query parser.  See the header file 
"queryparser.h" for details.  You're looking for "FLAG_PURE_NOT".

-- 
Richard



More information about the Xapian-discuss mailing list