Hello Ludmila,

> Indeed, you should add a new logical field.
> 
> First, a new logical field: authorcount should be defined, with the
> same MARC tags as for the author field (in our case 100__a and
> 700__a) (the logical fields are the ones responsible for the magic in
> the query foo: bar).

I've added our logical field author, that includes 1XX and 7XX fields.
 
> Then, the index authorcount that you've already created should be 
> updated to add this new field.
> 
> Then bibindex -w authorcount should do the correct indexing.

Good, now it works only partially, when explicity building the url
betwen f and p, but not writing it in the search field:

 http://ddd.uab.cat/search?p=10&f=authorcount  (ok)
 http://ddd.uab.cat/search?p=authorcount%3A10  (not ok)

Guess there is something missing, right?  Or should I explicity repeat
the marc tags that create our author logical field.  And, following the
DRY (don't repeat yourself) principle, shouldn't be more logical to
reuse the *count prefix for any *count counter for each index?

Thanks again,

Ferran

Reply via email to