I am using Google for location input. 

*It often splits out something like this:*
Shorewood, Seattle, Wa

*Since I am using this index analyzer:*
<filter class="solr.EdgeNGramFilterFactory" minGramSize="3" maxGramSize="30"
/>

It means that if I search for "Sho" or "Shorew" I get the result I want.
However, if I search for “Sea” or “Seatt” I get no results. 

I guess I need to break the location down into “Shorewood” “Seattle” “Wa”
instead of “Shorewood, Seattle, Wa”

Can this be done easily and efficiently within Solr, perhaps as an index
analyzer?




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Splitting-up-a-location-to-make-it-searchable-tp4009825.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to