hbz / lobid-resources

Transformation, web frontend, and API for the hbz catalog as LOD
http://lobid.org/resources
Eclipse Public License 2.0
7 stars 7 forks source link

Wrong facet counts with ISBN/ISSN query #1932

Open acka47 opened 8 months ago

acka47 commented 8 months ago

Reported today via email by @frauhollunder.

bei wenigen Treffern sind die Filter zum Eingrenzen auf den Gesamtbestand bezogen?

https://lobid.org/resources/search?id=0301-2999&name=&subject https://lobid.org/resources/search?id=0301-2999&name=&subject=

Bei größeren Treffermengen sieht es gut aus:

https://lobid.org/resources/search?agent=&name=luhmann&subject https://lobid.org/resources/search?agent=&name=luhmann&subject=

Screenshot:

image

acka47 commented 8 months ago

The problem: The "ISBN/ISSN" query is a custom query, which in the background queries two fields (issn and isbn). When verbosely querying these fields the facet count is correct:

https://lobid.org/resources/search?q=issn%3A%220301-2999%22+OR+isbn%3A%220301-2999%22