[Koha-devel] Zebra with ICU and startswithnt, first-in-subfield, etc.

Pongtawat Chippimolchai pongtawat.c at gmail.com
Thu Apr 19 04:58:05 CEST 2012


I try both enable and disable QueryFuzzy, QueryWeightFields,
QueryStemming and it seems to make no difference.

For record.abs, I use the default one that came with Koha 3.2. I could
post the file somewhere if it is needed. For Zebra, beside telling it
to use ICU (icuchain words-icu.xml), I didn't config anything else.

At least, is there a way to do exact match or start-with matching in
the staff client (cataloguing)

Thank you,
Pongtawat


On Wed, Apr 18, 2012 at 3:10 PM, Fridolyn SOMERS
<fridolyn.somers at gmail.com> wrote:
> Hie,
>
> First of all, what are the search preferences activated in your Koha:
> QueryWeightFields, QueyFuzzy, ... ?
> 2 : what is your config of Title index in record.abs ?
> 3 : I know that the use of "startswithnt" and "first-in-field" needs a
> configuration in Zebra before indexing. Did you customize something.
> 4 : this function may not be compatible with ICU.
>
> Regards,
>
> On Wed, Apr 18, 2012 at 5:01 AM, Pongtawat Chippimolchai
> <pongtawat.c at gmail.com> wrote:
>>
>> Hello all,
>>
>> Could anyone please kindly advice me how to search OPAC / Staff Client
>> for title with "starts with" or "exact" matching?
>>
>> I'm using Zebra with ICU. In OPAC, I try something the following:
>>
>> "ti,startswithnt: Financial" (no result),
>> "ti,first-in-subfield: Financial" (result with first record title
>> start with Financial, but the rest are mixed) ,
>> "ti,ext: Financial" (same as first-in-subfield),
>> "ti,first-in-field: Financial" (doesn't work).
>>
>> The result (when it work), seems to be similar  to the default Title
>> search (ti,wrdl). It favors records with title starting with the
>> search term, but not every records that start with the search terms
>> are on top.
>>
>> Is there anything I have to set up? Or maybe I'm searching with a wrong
>> syntax?
>>
>> Thank you,
>> Pongtawat
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> 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/
>
>
>
>
> --
> Fridolyn SOMERS
> fridolyn.somers at gmail.com
> Marsillargues - France
>


More information about the Koha-devel mailing list