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

Fridolyn SOMERS fridolyn.somers at gmail.com
Thu Apr 19 09:08:34 CEST 2012


> At least, is there a way to do exact match
This should work by indexing data as a phrase : Title:p, verify it in
records.abs.

Could you try without ICU needs reindexing) ?
Or does someone know if start-with is compatible with ICU ?

On Thu, Apr 19, 2012 at 4:58 AM, Pongtawat Chippimolchai <
pongtawat.c at gmail.com> wrote:

> 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
> >
>



-- 
Fridolyn SOMERS
fridolyn.somers at gmail.com
Marsillargues - France
 <fridolyn.somers at gmail.com>
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: </pipermail/koha-devel/attachments/20120419/b02f3cf0/attachment-0001.htm>


More information about the Koha-devel mailing list