[Xapian-discuss] QueryParser and booleans with spaces

Tom Mortimer tom at flax.co.uk
Thu Oct 1 11:56:33 BST 2009


Hi,

Does anyone know if it's possible to use the add_boolean_prefix
technique in QueryParser with terms which include a space? I want to
filter on (say) The Guardian, but none of these work:

title:The Guardian
title:"The Guardian"
title:(The Guardian)

I can work around it with a string substitution, e.g.
title:The_Guardian, but I'd rather be able to keep the space, if
possible.

cheers,
Tom



More information about the Xapian-discuss mailing list