[Koha-zebra] firstinfield and position attributes usage
Henri-Damien LAURENT
henridamien at koha-fr.org
Fri Feb 2 19:19:11 CET 2007
Hi,
I have problems using firstinfield and position attributes and then
querying with @attr 3=1.
Indeed, some users would find it cool to search anatomy only with the
beginning of the phrase.
First of all, I wonder how I can define a custom index and use it.
It seems that using completeness attribute implies @attr 6=1 if 0 @attr
6=2 or @attr 6=1.
position is not defined in you documentation.
firstinfield seems to be used along with it.
I tried to define :
index h
completeness 0
position 1
firstinfield 1
charmap sort-string-utf.chr
in default.idx and
used it in record.abs :
melm 250$a Heading, Heading:h, Heading:s
and queried my base as such :
f @and @attr "1=Authority/format-id" @attr 5=100 MSC @attr "1=Heading"
@attr 3=1 An
Answer was :
ERROR 119
Is there something I missed ?
--
Henri Damien LAURENT et Paul POULAIN
Consultants indépendants
en logiciels libres et bibliothéconomie (http://www.koha-fr.org)
More information about the Koha-zebra
mailing list