<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Joshua for those tips.<br>
<br>
The barcode was already set as numeric.<br>
<br>
I did add the r=r (to enable range search) to the barcode line of the
ccl.properties, giving<br>
<br>
<tt>barcode 1=8023 r=r<br>
bc barcode<br>
</tt><br>
Afterward, I rebuilt the zebra index.<br>
<br>
Now I can search using bc:100-200, however, I get some items with
barcode out of the 100-200 range.<br>
<br>
Am I missing something?<br>
<br>
Thanks,<br>
<br>
Eric<br>
<br>
<br>
Joshua Ferraro wrote:
<blockquote
cite="mid:2dfa91e40904101243l7bb763dfwa8b936fd59e426d7@mail.gmail.com"
type="cite">
<pre wrap="">On Fri, Apr 10, 2009 at 3:09 PM, Eric Bégin <a class="moz-txt-link-rfc2396E" href="mailto:Eric.Begin@inlibro.com"><Eric.Begin@inlibro.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi there,
What would be the syntax if I would like to perform a search on a range
of barcodes?
For exemple, I'd like to retreive the items having barcode from 0 to 1000.
Is this currently possible?
</pre>
</blockquote>
<pre wrap=""><!---->Zebra supports this and you can enable it in your Koha system with a
bit of configuration. First step is to add a numeric index on barcode
(to record.abs). Then you can create index mappings in the
ccl.properties file for greater-than/less-than query parameters.
Hope that helps.
Cheers,
Josh
</pre>
</blockquote>
</body>
</html>