-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement exact query matching in Solr #1401
Comments
We should set aside concerns about Boolean operators for this issue, since that’s a separate feature in Solr and has been addressed via #1352. As written, the search features described in this issue, namely that terms/phrases in quotes should match differently analyzed (more exact) fields than terms not in quotes is not supported by Solr. Quotes in Solr only control phrase matches: i.e. any match must include the quoted terms in the same sequence (although the precision of the term position is controllable via the In the DLME schema both the There are other options, but they range from having some serious UX drawbacks to being complicated to implement -- requiring careful consideration.
|
As a DLME curator/user, I sometimes query words and get back many false positive documents containing similarly spelled words that are not relevant to my query. e.g. when I search for “Masada” I expect records related to the place name Masada. The query returns 144 results (February 3, 2022). The first four contain the queried term. They are not relevant because they are modern records but DLME can’t be faulted for that. The rest seem to contain other terms with a similar spelling or nothing at all similar to my query, none of which seem to be relevant. Examples of terms these records contain that are probably being matched are “Mashhadi” and “Mas’ada”. In some cases words with similar spellings as the query term might be relevant so we may not want to turn off fuzzy matching. However, exact matching by adding quotations around the query term would allow me to decide when I want precision and when I favor recall.
To do:
Feel free to combine this with #1352 or break it out into additional tickets as you see fit.
The text was updated successfully, but these errors were encountered: