RE: Koha-zebra Digest, Vol 9, Issue 1

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown RE: Koha-zebra Digest, Vol 9, Issue 1

by Tümer Garip :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi hdl,
If i understood correctly:
1- The characters to escape (infact to be replaced by space) is defined
in tab/*.chr file
2- If your default.idx file defines completeness=1 for phrases (@attr
4=1) this search should work
3- No it will only return exact match unless @attr 5=1(right truncation)
is defined as default in your searches.Put @attr 5=100(no truncation) to
make sure

Hope helps
Tumer

-----Original Message-----
Message: 1
Date: Wed, 24 Jan 2007 18:03:46 +0100
From: Henri-Damien LAURENT <laurenthdl@...>
Subject: [Koha-zebra] Exact searches with zebra.
To: koha-zebra@...
Message-ID: <45B79172.9050206@...>
Content-Type: text/plain; charset=ISO-8859-1

Hi,
I am trying to provide exact search in zebra for authorities. But I have
a problem : using @attr 4=1 @attr 6=3 "TEST -- My record" double -- are
not taken into account. and it doesnot find any results since -- is
recorded in a field. If I test without @attr 6=3 it works, but what if i
have a second one which contains TEST -- My record -- special ? I bet
both of them will be returned.


I searched the documentation but couldnot find where jokers should be
defined nor how to escape them. Does anyone has a link ?
--
Henri-Damien LAURENT




------------------------------

_______________________________________________
Koha-zebra mailing list
Koha-zebra@...
http://lists.nongnu.org/mailman/listinfo/koha-zebra


End of Koha-zebra Digest, Vol 9, Issue 1
****************************************



_______________________________________________
Koha-zebra mailing list
Koha-zebra@...
http://lists.nongnu.org/mailman/listinfo/koha-zebra

Re: RE: Koha-zebra Digest, Vol 9, Issue 1

by Henri-Damien LAURENT-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tümer Garip a écrit :
> Hi hdl,
> If i understood correctly:
> 1- The characters to escape (infact to be replaced by space) is defined
> in tab/*.chr file
>  
I had overlooked that file. I thought it was a configuration in zebra.
> 2- If your default.idx file defines completeness=1 for phrases (@attr
> 4=1) this search should work
>  
It works but I thought @attr 6=3 would ensure wholiness of subfield.
> 3- No it will only return exact match unless @attr 5=1(right truncation)
> is defined as default in your searches.Put @attr 5=100(no truncation) to
> make sure
>  
OK.
Many thanks.

--
Henri-Damien LAURENT


_______________________________________________
Koha-zebra mailing list
Koha-zebra@...
http://lists.nongnu.org/mailman/listinfo/koha-zebra