hbz / nwbib

Die Nordrhein-Westfälische Bibliographie
http://nwbib.de
3 stars 2 forks source link

Adjust standard/all field search #110

Closed acka47 closed 9 years ago

acka47 commented 9 years ago

One unwanted behaviour already reported by customers (see https://wiki1.hbz-nrw.de/pages/viewpage.action?pageId=58949642): A standard search or Alle Felder search shouldn't search field bibliographicCitation ("Quelle"). The unwanted behaviour as described in German by customers:

Im Suchschlitz und in der „alleFelderSuche“ werden bei der Suche nach dem Titel einer Zeitschrift oder eines mehrbändigen Werkes auch alle Aufsätze angezeigt

There might be more fields mthat should be excluded from a standard search. We may align this to the behaviour if the Aleph system that is described at http://www.hbz-nrw.de/dokumentencenter/produkte/verbunddatenbank/aktuell/arbeitsunterlagen/Schul_5_Indizierung_20140121.pdf, p. 14-16.

acka47 commented 9 years ago

We might have to add a new API parameter for this "all fields" search that doesn't search all fields...

fsteeg commented 9 years ago

Deployed to staging, see:

http://test.lobid.org/nwbib/search?q=Melanargia http://test.lobid.org/nwbib/search?word=Melanargia

acka47 commented 9 years ago

Looks good but unfortunately an example provided by a customer doesn't work as expected. From a mail from 2015-07-09:

Allerdings werden, wenn man mit Titelangaben des Sammelbandes sucht, auch die damit verknüpften Aufsätze gefunden. Dies ist in der alten NWBib anders. Und sollte meiner Meinung nach auch so bleiben. Beispiel: [HT018658351] Alfred Flechtheim hrsg. von Andrea Bambi Wenn ich mit "Alfred Flechtheim Andrea Bambi" über alle Felder suche, finde ich auch die 6 enthaltenen Aufsätze. Dies sollte nicht sein.

If I do the word search for "Alfred Flechtheim Andrea Bambi" I get zero results. In the old NWBib I get one result...

fsteeg commented 9 years ago

Redeployed with CROSS_FIELDS query to staging. Your test case:

http://test.lobid.org/nwbib/search?sort=newest&word=Alfred+Flechtheim+Andrea+Bambi

acka47 commented 9 years ago

+1

fsteeg commented 9 years ago

Not implemented for standard/simple search. Reopening.

fsteeg commented 9 years ago

Fix for standard/simple search with query string syntax support deployed to staging, see:

http://test.lobid.org/nwbib/search?q=Alfred+Flechtheim+Andrea+Bambi http://test.lobid.org/nwbib/search?q=karneval+AND+NOT+köln

acka47 commented 9 years ago

+1

fsteeg commented 9 years ago

Will deploy after https://github.com/hbz/lobid/pull/207 is merged by @dr0i.