[Xapian-discuss] Using QueryParser results to populate UI

Matt Goodall matt.goodall at gmail.com
Sun Jun 6 11:23:48 BST 2010


Hi,

I would like to "pull apart" a search string to populate distinct
search fields in a UI; something like how Google toggles between
simple and advanced search modes. I realise going from simple to
advanced may well be lossy but that's fine for my purposes.

I thought the obvious place to start was xapian's QueryParser.
Unfortunately, Query instances appear to be a little opaque, at least
from the Python bindings. Am I missing something obvious or will I
need my own xapian-like query parser to do what I want?

Thanks, Matt



More information about the Xapian-discuss mailing list