[Koha-bugs] [Bug 14217] Add a DOM syntax for specifying conditions on indexes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 28 14:32:06 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14217

--- Comment #7 from Barton Chittenden <barton at bywatersolutions.com> ---
(In reply to Marcel de Rooy from comment #6)
> This is certainly an interesting development!
> 
> But it might need some further (broader) discussion before getting in.
> In the first place: Why do we really need it? Can you elaborate/illustrate?
> If we add conditions, what kind of conditions do we want? Syntax? Etc. A
> broader design may be easier to maintain..
> How do comparable systems implement this?
> If we add this for Zebra, what about other search engines?

Marcel,

The functionality definitely *is* needed -- see, for instance bug 14277, where
the meaning of 521$a varies drastically based on the value of ind1.

The 'condition=' syntax feels like overkill to me -- before work with the
inicators, I assumed that the arguments to the <index_subfields> xml tag were
essentially limits that were ANDed together... I guess they're not, but I think
that we could pull a 'convention over configuration' fast one and pretend that
they are: 'tag' and 'subfield' are required attributes, specifying the marc
field and subfield, alll other attributes are limits -- if not present, all
matching tags/subfields will be used.

...or we could go with the 'condition=' syntax, and make it explicit. I'm fine
either way, as long as I can limit by indicator. :-)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list