lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Custom Shingle Factory Filter Requirement
Date Tue, 27 Dec 2011 07:40:29 GMT
>   I'm trying to implement an advanced Auto-Suggest
> field. Consider an
> example input String:
> 
>    "Word1 Word2 Word3 Word4 Word5 Word6"
> 
>    I just want this field to auto-suggest
> content based on whatever i type
> (no matter i start typing from word1 or word4). 


To achieve this behavior, you can use StandardTokenizerFactory and EdgeNGramFilterFactory
and LowerCaseFilterFactory at index time.

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.EdgeNGramFilterFactory 

Mime
View raw message