Hi! This feature of counting the times a field occurs, is this a speciality of the authors field or a general feature applicable to any fiel (index) definition?
We have this question wether a field is set in several circimstances. (Though nothing timecritical and the "and not" range thing works as well.) -- Kind regards, Alexander Wagner Subject Specialist Central Library 52425 Juelich mail : [email protected] phone: +49 2461 61-1586 Fax : +49 2461 61-6103 www.fz-juelich.de/zb/DE/zb-fi ----- Reply message ----- From: "Ludmila Marian" <[email protected]> Date: Thu, Jul 18, 2013 15:16 Subject: How to search for the existence of a field To: "Ferran Jorba" <[email protected]> Cc: "[email protected]" <[email protected]> Hello Ferran, You will probably have to add the authorcount as an index, via BibIndex Admin interface (if it's not already there) and then run 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. For CDS, the speed for indexing authorcounts was ~8000recs/min, so relatively fast. Also, you could run the task with priority -1 to make sure it does not affect the incoming tasks. Cheers, Ludmila On 07/18/2013 02:50 PM, Ferran Jorba wrote: > Hello Ludmila, > >> Since you're running Invenio-1.1 you could use the authorcount index: >> a search for authorcount:1+ would retrieve all records that have at >> least one author. >> <http://invenio-software.org/repo/invenio/commit/?id=b6152478eaf8196aa0fa71e864bfd31590626ba8> > we are indeed on 1.1.0, and I've checked that this patch is part of our > installation, but this search doesn't work for us: > > http://ddd.uab.cat/search?p=authorcount%3A1%2B > > Do we have to do any magical step to activate it? > > Thanks, > > Ferran ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Das Forschungszentrum oeffnet seine Tueren am Sonntag, 29. September, von 10:00 bis 17:00 Uhr: http://www.tagderneugier.de
