Eric,<br><br>Try changing record.abs to use a numeric index. Something like<br><br>melm xxx barcode:n<br><br>Thanks,<br>Savitra Sirohi<br>Nucsoft OSS Labs<br><a href="http://www.osslabs.biz">http://www.osslabs.biz</a><br><br>
<div class="gmail_quote">2009/4/11 Eric Bégin <span dir="ltr"><<a href="mailto:Eric.Begin@inlibro.com">Eric.Begin@inlibro.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div 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><font color="#888888">
<br>
Eric</font><div class="im"><br>
<br>
<br>
Joshua Ferraro wrote:
<blockquote type="cite">
<pre>On Fri, Apr 10, 2009 at 3:09 PM, Eric Bégin <a href="mailto:Eric.Begin@inlibro.com" target="_blank"><Eric.Begin@inlibro.com></a> wrote:
</pre>
<blockquote type="cite">
<pre>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>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>
</div></div>
<br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br>