> Yes. Which is trivially simple to do.
Not convinced it is entirely trivial ...
> I think Simple Is Better in this case, so I'd roll the
> subfield into the indexname, like this:
> marc.245a = "Smith"
Fair enough - although as Rob indicates it does lead to a very long list
of indexes!
I think a delimier *is* needed between the MARC tag and the subfield
though just to avoid confusion over say numeric subfield names e.g.
marc.2451
Say marc.245$1 marc245$a for instance?
indicators need a little more thought since I think there are two use
cases
Look for records where indicator1 in MARC field 245 has a value 5
Look for records where MARC field 245 $a is Smith and has an indicator0
value of 2
Clearly having indicator0, indicator1 etc. are indexes doesn't really
work.
The latter case can be address by having indicator0, indicator1 as
relational modifiers
marc.245$a =/indicator0=2 Smith
The former case I suppose would have to be
marc.245 =/indicator1=5 *
Or are there better suggestions?
Matthew
|