lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Only exact match searches working
Date Mon, 17 Sep 2012 14:34:42 GMT
That will match internal substrings in addition to prefix strings. EdgeNGram 
does only prefix substrings, which is generally what people want. So, 
NGramFilter would match "England" when the query is "land" or "gland", 
"gla", etc.

Use the Solr Admin Analysis UI to enter text to see how the filter analyzes 
it to make sure it is what you expect.

-- Jack Krupansky

-----Original Message----- 
From: Spadez
Sent: Monday, September 17, 2012 7:16 AM
To: solr-user@lucene.apache.org
Subject: Re: Only exact match searches working

Thank you for the reply. I have done a bit of reading and it says I can also
use this one:

<filter class="solr.NGramFilterFactory" minGramSize="3" maxGramSize="30" />

This is what I will use I think, as it weeds out words like "at" "I" as a
bonus.





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


Mime
View raw message