problem with search

23 views
Skip to first unread message

ian.h.terrell

unread,
Oct 27, 2021, 5:18:11 PM10/27/21
to DSpace Community
Is there a good description of how to use the search field?
It seems fine for smallish strings, but the longer string we have the stranger the results seem.
Is there a limit to the length a query can be?
We are getting fewer results after we have added more OR values that should increase results.
I attached a text file with search strings and the number of results they got.
Thanks!
Ian
kppl_search_anomalies.txt

Kim Shepherd

unread,
Oct 27, 2021, 7:27:40 PM10/27/21
to ian.h.terrell, DSpace Community
Hi Ian,

My guess is that your default search operator is AND, and the multi-word terms are being interpreted as eg. dc.subject.mesh:Fetal AND Nutrition AND .... OR dc.subject.mesh:Pregnancy ...., and so on - those additional words become regular search terms not tied to a field and using the default operator.
I had a go at wrapping the terms in " quotes in the demo DSpace 6.3 site but it seemed to break the query so I guess there is still some quote encoding or escaping issue going on?

If you have direct access to the Solr search service, could you try your queries there with the terms wrapped in double-quotes and see if the numbers look better?

Cheers

Kim

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC


--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/741201e2-204f-4b70-ba69-3aaf0c5a6647n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages