tags:

views:

91

answers:

1

i have a field where there are items that are plurals, and used as very specific locators, so i do a solr search type:articles, and it translates it into :

<str name="rawquerystring">type:articles

type:articles type:articl

it gets really frustrating, is there a way i can disable this?

+2  A: 

My guess is you are using the StandardAnalyzer to parse your query, which does stemming by default. Just use a simple tozenizer, or Whitespace Analyzer to parse the query instead. But you also need to use the same analyzer when you ingest documents into your Lucene (SOLR) index to get correct results.

Gandalf