[Xapian-discuss] Matching substrings

Lars Kruse lists at sumpfralle.de
Fri Apr 4 06:27:57 BST 2008


Hi,

please imagine the term "foobar" in a xapian database.
I know, that it is possible to match this term with the following queries and
flags:
1) "foo" (QueryParser.FLAG_PARTIAL)
2) "foo*" (QueryParser.FLAG_WILDCARD)

But I would like to construct a successful query like the following:
 *bar

Is there any way of accomplishing this with xapian?
As far as I understand the wildcard flag, it supports only right truncation (at
the end of a string).

Any help would be great!
Thanks for your time,
Lars



More information about the Xapian-discuss mailing list