<div class="gmail_quote">Tomas,<div><br><div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>> Our problem was :<br>
> melm 001 local-number,local-number:n<br>
> ......<br>
> melm 035$a local-number,local-number:n<br>
> We had two fields indexed in "local-number" and we had "ghost entries".<br>
> We have corrected in :<br>
> melm 001 local-number,local-number:n<br>
> ......<br>
> melm 035$a identifier-other,identifier-other:n<br>
> Reindex and it was the end of the fabulous story of ghost entries.<br>
<br>
</div>Perhaps its just out of my knowledge's scope, by I don't see the<br>
problem of having two different fields indexed under the same name, I<br>
mean, I'd think both would match the same record and thus not be shown<br>
twice. I'd rather think of a weird coincidence. I'm sorry if my<br>
confusion just makes the situation more obscure.<br></blockquote><div><br></div></div><div>The issue here is that the local-number index has "magic" properties. I don't really understand how Zebra works, but I do know that every entry in the local-number index is considered a "separate" record. So if record has two fields that appear in the local-number index, the Zebra index will store two copies of the record (this is where the search results in Koha come from, not from the database). At some point I will submit a patch changing the suggestion for the 035 index, since uncommenting the "melm 035" line as it stands now in the MARC21 record.abs is pretty much guaranteed to corrupt your Zebra indexes.</div>
<div><br></div><div>Regards,</div><div>Jared</div></div></div></div></div><br>-- <br>Jared Camins-Esakov<div>Freelance bibliographer, C & P Bibliography Services, LLC</div><div>(phone) +1 (917) 727-3445</div><div>(e-mail) <a href="mailto:jcamins@cpbibliography.com" target="_blank">jcamins@cpbibliography.com</a></div>
<div>(web) <a href="http://www.cpbibliography.com/" target="_blank">http://www.cpbibliography.com/</a></div><br>