[Koha-devel] record.abs and melm declaration order.

Adam Dickmeiss adam at indexdata.dk
Tue Oct 31 15:16:08 CET 2006


Henri-Damien LAURENT wrote:
> Hi
> it seems that data indexed in record.abs depends on the order of
> declaration.
> Take for instance :
> 
> melm 600 Subject-heading
> melm 600$a main-subject
> 
> and
> 
> melm 600$a main-subject
> melm 600 Subject-heading
> 
> On the one hand, you will NOT be able to query for main-subject
> But on the other hand, declaring 600$a BEFORE tag 600, you will get data
> from 600$a when querying on main-subject.
> 
> I have not read this on documentation. And this seems quite useful to know.

Correct. Good point.

To get what you want, use:

melm 600$a main-subject,Subject-heading
melm 600 Subject-heading

> Moreover, if you declare
> 
> melm 600$a main-subject
> melm 600$a other-identifier
> 
> the second declaration will be ignored.
Yes. Use

melm 600$a main-subject,other-identifier

to index both.

/ Adam

> 
> Hopes that helps.






More information about the Koha-devel mailing list