lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "O. Olson" <olson_...@yahoo.it>
Subject Re: Trying to get AnalyzingInfixSuggester to work in Solr?
Date Thu, 07 May 2015 15:23:17 GMT
Thank you Rajesh for your persistence. I now got it to work. In my original
email/message, I mentioned that I use 'text_general' as defined in the
examples:
http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/db/conf/schema.xml?view=markup

I'm sorry I did not mention this again later. 

Your definition of 'text_general' is a lot different from what's in the
examples. However, once I used it, I got this to work just as you said. 

Thank you,
O. O.


Rajesh Hazari wrote
> yes "textSuggest" is of type "text_general" with below definition
> <fieldType name="text_general" class="solr.TextField"
>  positionIncrementGap="100" sortMissingLast="true" omitNorms="true">
>      
> <analyzer type="index">
>         
> <tokenizer class="solr.ClassicTokenizerFactory"/>
> <filter class="solr.ClassicFilterFactory"/>
> <filter class="solr.LowerCaseFilterFactory"/>
>         
> <filter class="solr.KeywordMarkerFilterFactory"
> protected="protwords.txt"/>
> <filter class="solr.ShingleFilterFactory" maxShingleSize="5"
> outputUnigrams="true"/>
>       
> </analyzer>
>       
> <analyzer type="query">
> <charFilter class="solr.MappingCharFilterFactory"
> mapping="mapping-FoldToASCII.txt"/>
>          
> <tokenizer class="solr.ClassicTokenizerFactory"/>
> <filter class="solr.ClassicFilterFactory"/>
>         
> <filter class="solr.LowerCaseFilterFactory"/>
>         
> <filter class="solr.KeywordMarkerFilterFactory"
> protected="protwords.txt"/>
> <filter class="solr.ShingleFilterFactory" maxShingleSize="5"
> outputUnigrams="true"/>
>       
> </analyzer>
>     
> </fieldType>
> *Rajesh.*





--
View this message in context: http://lucene.472066.n3.nabble.com/Trying-to-get-AnalyzingInfixSuggester-to-work-in-Solr-tp4204163p4204334.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message