Displaying 2 results from an estimated 2 matches for "op_wildcard_glob".
2017 Jan 04
0
Formulating Advanced Queries with Xapian-Omega
...ake advantage of your
> extended option in Omega and/or Xapian ? (working example ?)
Currently you need to use one of the WILDCARD_PATTERN_* constants
when constructing an OP_WILDCARD Query object, e.g.:
Xapian::Query wild(Xapian::OP_QUERY_WILDCARD, "?-???-?????-?", 0, Xapian::Query::OP_WILDCARD_GLOB);
There isn't yet any integration into omega (or even into
Xapian::QueryParser). Such are the pitfalls of using code from unmerged
branches I'm afraid.
> 2 The ? Wild Char is for general characters, is it not ?
>
> ie. It cannot distinguish between digits and letters and thus...
2016 Dec 29
2
Formulating Advanced Queries with Xapian-Omega
To Olly Betts:
Thank you very much for any feedback.
I apologise for this belated reply and also for the fact that the text
of the previous posting appeared fragmented, due to its fixed
chars/line format.
With reference to:
> Can, or could, one construct a query so that Omega (Xapian) can
handle
> this ?
>
> ... perhaps with some type of Regex ?
>
> It would seem