Eric, Try changing record.abs to use a numeric index. Something like melm xxx barcode:n Thanks, Savitra Sirohi Nucsoft OSS Labs http://www.osslabs.biz 2009/4/11 Eric Bégin <Eric.Begin@inlibro.com>
Thanks Joshua for those tips.
The barcode was already set as numeric.
I did add the r=r (to enable range search) to the barcode line of the ccl.properties, giving
barcode 1=8023 r=r bc barcode
Afterward, I rebuilt the zebra index.
Now I can search using bc:100-200, however, I get some items with barcode out of the 100-200 range.
Am I missing something?
Thanks,
Eric
Joshua Ferraro wrote:
On Fri, Apr 10, 2009 at 3:09 PM, Eric Bégin <Eric.Begin@inlibro.com> <Eric.Begin@inlibro.com> wrote:
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?
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
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha