record.abs and melm declaration order.

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

record.abs and melm declaration order.

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

Reply to Author | View Threaded | Show Only this Message

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.

Moreover, if you declare

melm 600$a main-subject
melm 600$a other-identifier

the second declaration will be ignored.

Hopes that helps.
--
Henri-Damien LAURENT


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

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

by Adam Dickmeiss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.



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