Hi Ferran,

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).

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.

Cheers,
Ludmila

On 07/19/2013 08:10 AM, Ferran Jorba wrote:
Hi Ludmila,

You will probably have to add the authorcount as an index, via
BibIndex Admin interface (if it's not already there) and then run
It was not there.  I just added it, with no translations and no Marc
fields.

bibindex -w authorcount to index all records for this field. The
advantage of having authorcount index enabled is that the searches
involving author existence would be *much* faster.
I've run bibindex -w authorcount, it took a few minutes, but it doesn't
seem that the results are correct.  Fwd. Idx Words count is 1 and
Rev. Idx Records 110,464 (the number of our records at DDD).  The
search results are not correct either:

  http://ddd.uab.cat/search?p=authorcount%3A1 (it doesn't split p & f)
  http://ddd.uab.cat/search?p=1&f=authorcount (the only value is 0)

So, what I'm missing?  Adding a field, maybe?  Which marc tag should it
have?

Thanks,

Ferran

Reply via email to