I am using stemming in my Solr, but I don’t always want to apply stemming for each search. I am thinking of disabling stemming on one specific query parser, can I do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you need to have stemmed and unstemmed searches, you’ll need to define different fields in your
schema.xmlfor the same content and simultaneously index the text into them (perhaps using CopyField). One field should have stemming analyzers and the other should not.Then, your search would specify which fields to search in.