http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15541

--- Comment #2 from David Cook <dc...@prosentient.com.au> ---
Of course, what I've said isn't 100% true. 

There's one more obstacle between C4::Matcher::get_matches and Zebra's
normalized indexes.

And that's C4::Search::SimpleSearch(), which uses the s/:/=/g regex before
sending the query. 

While that's trivial for Zebra's CHR and ICU indexing for words and phrases,
since they just strip out punctuation anyway, it's a problem for Zebra's URL
Charmap, which doesn't normalize URLs. 

So you'll get a failed match in that case.

So I think a pure match would have to be done without any normalization before
the query gets to Zebra. That should be easy enough to implement in C4::Matcher
when it uses C4::Search::SimpleSearch(). Because it's a simple search, it
shouldn't be normalizing the query anyway. I'll just add a flag so that you can
do an unnormalized search.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to