You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vijay Sampath <vi...@baml.com> on 2011/12/15 23:28:56 UTC
Solr AutoComplete - Address Search
Hi,
I'm trying to implement autocomplete functionality for Address search.
I've used the KeywordTokenizerFactory & LowerCaseFilterFactory. Problem is,
when I start typing the numbers at start, I got any results from SOLR (Eg:
3500 W South). Could you please guide on this
<fieldType class="solr.TextField" name="text_autophrase">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
Thanks,
Vijay
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-AutoComplete-Address-Search-tp3590112p3590112.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr AutoComplete - Address Search
Posted by Vijay Sampath <vi...@baml.com>.
Just to add to it, I'm using Suggester component to implement Auto Complete
http://wiki.apache.org/solr/Suggester
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-AutoComplete-Address-Search-tp3590112p3592017.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr AutoComplete (Suggester) - Numbers not returned
Posted by solr-ra <ra...@tgels.com>.
You may want to take a look at the autocomplete component using Solr with
RankingAlgorithm. It allows you to do edge as well as infix search. You can
get more information and also try out a demo from here:
http://solr-ra.tgels.org/solr-ra-autocomplete.jsp
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-AutoComplete-Suggester-Numbers-not-returned-tp3590112p3598618.html
Sent from the Solr - User mailing list archive at Nabble.com.