Two techniques:

1. Use a wildcard query: Eng*
2. Add an EdgeNGramFilterFactory to your index analyzer.

-- Jack Krupansky

-----Original Message----- From: Spadez
Sent: Sunday, September 16, 2012 4:47 PM
To: solr-user@lucene.apache.org
Subject: Only exact match searches working

Hi,

I finally got my Solr working. It indexes posts and I can search it from my
site. I have run into one problem though.

If I have an entry as "England", when I search "England" on my site, or
"england" I get the result returned. When I search "Eng" it tells me there
are no results.

My question is this, how do I make it so it doesn't have to be an exact
match for results to be returned.





--
View this message in context: http://lucene.472066.n3.nabble.com/Only-exact-match-searches-working-tp4008160.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to