Affects Version/s: None
Fix Version/s: None
Component/s: Schema and Analysis
A project I'm working on requires exact match searching with stemming turned off. The users are accostomed to Sphinx search, and thus expect a query like [ =runs ] to return only documents that contain the exact term, "runs", and not the stemmed word "run".
In SOLR-2866, there is similar work, but I believe it is different because it uses a huge-synonym file rather than storing the original terms directly in the index.
What I'd like instead is two things:
1. An analyzer that says, "store the original form of all words in the index along with the stemmed variations." If necessary, it's fine if this is simply an unstemmed field, but that seems cumbersome schema-wise and performance-wise.
2. An operator in edismax that allows users to query the exact form of the word. Sphinx uses the equals sign (=), and that makes sense logically to me.
This issue is part of a meta issue, SOLR-3028, that is requesting two other operators in edismax (quorum search and word order).