Displaying 2 results from an estimated 2 matches for "xhas".
Did you mean:
has
2017 Jan 04
0
Formulating Advanced Queries with Xapian-Omega
...uot;XISBN");
Then the user can use isbn:1-234-56789-0 to filter only documents
mentioning that ISBN. Or if you want to be able to find documents
which mention any ISBN (or anything which looks like one) then:
if ($text =~ /(\b\d-\d{3}-\d{5}-[\dX]\b)/) {
$doc->add_boolean_term("XHASisbn");
}
Then at query time:
$queryparser->add_boolean_prefix("has", "XHAS");
And then the user can filter a search by: has:isbn
> It would be very useful if there were some working examples in
> relation to these themes, (at least for those less exper...
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