[Xapian-discuss] Adding terms of more than one word with PHP bindings
Olly Betts
olly at survex.com
Wed Sep 17 05:10:08 BST 2008
On Mon, Sep 15, 2008 at 11:34:42AM +0100, James Aylett wrote:
> You can absolutely search on terms with spaces in them - however this
> does not match the term plan used by QueryParser, so you can't do it
> with that. If you construct your own query, you can have whatever
> terms you like in it.
More explicitly, in PHP:
$query = new XapianQuery("term with spaces");
Incidentally, there's some discussion, and a first attempt at a patch
for allowing the QueryParser to support this sort of thing in ticket
#128:
http://trac.xapian.org/ticket/128
Cheers,
Olly
More information about the Xapian-discuss
mailing list