Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Searches with : don't work as expected #686

Closed
liowalter opened this issue Apr 4, 2019 · 5 comments
Closed

Searches with : don't work as expected #686

liowalter opened this issue Apr 4, 2019 · 5 comments

Comments

@liowalter
Copy link
Member

liowalter commented Apr 4, 2019

There are several cases where a searches with ":" in the middle is expected to work. But this is not always the case.

  description simple search simple search with “” advanced search advanced search with “”
Linear : algebra simple search not ok ?
less results than "linear algebra"
MKB PP 305 : 27,2004 call number not ok but this is fine ok ok ok
10.1023/A:1008433817832 doi not ok but this is fine  not ok  not ok  ok  
urn:nbn:ch:bel-bau-diss108444 urn not ok but this is fine not ok   not ok error    ok
RETROSoai:agora.ch:hnu-001:1917:23::141 id not ok but this is fine ok     
author:dicker "expert" search ok ok

Involved in this process are these parts :

@liowalter
Copy link
Member Author

@liowalter
Copy link
Member Author

liowalter commented Jun 12, 2019

Astonishingly the parser for the ISSN/ISMN/DOI/URN advanced search was not set to edismax.

On top of that, the doi_isn_mv and urn_isn_mv were not included in the simple search.

Changing these both things yield the following improvements :

description simple search simple search with “” advanced search advanced search with “”
Linear : algebra simple search not ok ? less results than "linear algebra"
Linear:algebra simple search not ok but it works on core ok
MKB PP 305 : 27,2004 call number not ok but this is fine ok ok ok
10.1023/A:1008433817832 doi ok ok OK ok
urn:nbn:ch:bel-bau-diss108444 urn not ok ok not ok no more error ok
RETROSoai:agora.ch:hnu-001:1917:23::141 id not ok but this is fine ok
author:dicker "expert" search ok ok

@liowalter
Copy link
Member Author

Solved via swissbib/searchconf@ac015d4

@guenterh
Copy link
Member

guenterh commented Jun 13, 2019

@liowalter @witzigs
Hi Lionel,
thanks a lot for fixing it. As you already mentioned: It might happen that an Index error caused by wrong spelled field-names leads to a bunch of documents not being indexed which are part of a whole batch request sent to SOLR by the indexer client. But we can test it especially before the next Gesamtexport.

Another idea came to my mind: Now you are using a field type text_untreated valid for indexing and query use cases. What if you would define a new field type which is only valid for for indexing puposes and not for the query execution?

Not sure if this works but a fast test might be helpful

@liowalter
Copy link
Member Author

after release the status should be :

description simple search simple search with “” advanced search advanced search with “”
Linear : algebra simple search ok ? less results than "linear algebra"
Linear:algebra simple search ok ok
MKB PP 305 : 27,2004 call number ok ok ok ok
10.1023/A:1008433817832 doi ok ok ok ok
urn:nbn:ch:bel-bau-diss108444 urn ok ok ok ok
RETROSoai:agora.ch:hnu-001:1917:23::141 id ok ok
author:dicker "expert" search ok ok

@liowalter liowalter changed the title Searches with : don't work as exepected Searches with : don't work as expected Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants