Repository metrics
- Stars
- (85 stars)
- PR merge metrics
- (PR metrics pending)
Description
It would be good to be able to override stemming at query time. Stemming by default probably makes the most sense, even for phrase queries, but in some cases we would want to return only exact matches.
For example, "dancing" matches "dance". We could have an alternative field or flag so it only matches "dancing".
In terms of implementation, this could definitely be done by including an extra non-stemmed copy of all fields. For example: everything.exact:"dancing".
Related: case-sensitivity, projecting down diacritics (et al), and off-by-N fuzzy typo tolerance.
A blog post noting this issue: https://jurnsearch.wordpress.com/2020/09/28/internet-archive-scholar-is-live/