My last email may have been a bit over the top, although I still stand by the 
fact that Search.pm butchers queries before they get to Zebra. Hopefully, the 
integration of ElasticSearch will  make a re-write of the Zebra-related code to 
be unnecessary. 

 

While we’re still planning to hold on to Zebra, I think it’s mostly as a 
Z39.50/SRU server?

 

I actually quite like Zebra as a search engine, but the way the search code in 
Koha was implemented makes it impossible to use Zebra as it should be used. 

 

David Cook

Systems Librarian

 

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

 

Office: 02 9212 0899

Direct: 02 8005 0595

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Francois 
Charbonnier
Sent: Wednesday, 4 May 2016 11:00 PM
To: [email protected] >> koha-devel 
<[email protected]>
Subject: [Koha-devel] Searching with the question mark wildcard

 

Hello,

Has anyone tried to implement the question mark (?) wildcard ?

The documentation says "Two of the wildcard characters that can be used in Koha 
searches are the asterisk ('*') and the percent sign ('%'). However, these two 
characters act differently when used in searching." 
(http://manual.koha-community.org/3.22/en/searchfaq.html)

But, CQL also supports the question mark wildcard "? : Matches any single 
character, so that c?t will match any of the words cat, cot or cut, but not 
coat or indeed ct." (http://zing.z3950.org/cql/intro.html#6)

We are currently evaluating this implementation. If you already tried, your 
feebacks will be appreciated. And, any advice on how you'll do it will be 
welcome as well!

Thanks!

-- 

François Charbonnier,
Bibl. prof. / Chef de produits

Tél.  : (888) 604-2627
 <mailto:[email protected]> [email protected] 

inLibro | pour esprit libre |  <http://www.inLibro.com> www.inLibro.com 

_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to