search for: xisbn

Displaying 2 results from an estimated 2 matches for "xisbn".

Did you mean: isbn
2017 Jan 04
0
Formulating Advanced Queries with Xapian-Omega
...; term > > It is no doubt due to my lack of understanding but how would this > interesting option 'pulling them out at index time ...' be implemented > ? For example in Perl, at index time: while ($text =~ /(\b\d-\d{3}-\d{5}-[\dX]\b)/g) { $doc->add_boolean_term("XISBN$1"); } With this approach, you could also easily do additional validation (such as checking the check digit for codes which have one, as ISBNs do). Then at query time: $queryparser->add_boolean_prefix("isbn", "XISBN"); Then the user can use isbn:1-234-56789-...
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