lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: NGramFilterFactory for auto-complete that matches the middle of multi-lingual tags?
Date Mon, 04 Oct 2010 02:31:33 GMT
Start a new thread.

Dennis Gearon wrote:
> What's the difference between the filter/anayzers that have 'factory' in their name,
and the ones that don't?
>
>
> Dennis Gearon
>
> Signature Warning
> ----------------
> EARTH has a Right To Life,
>    otherwise we all die.
>
> Read 'Hot, Flat, and Crowded'
> Laugh at http://www.yert.com/film.php
>
>
> --- On Sun, 10/3/10, Ahmet Arslan<iorixxx@yahoo.com>  wrote:
>
>    
>> From: Ahmet Arslan<iorixxx@yahoo.com>
>> Subject: Re: NGramFilterFactory for auto-complete that matches the middle of multi-lingual
tags?
>> To: solr-user@lucene.apache.org
>> Date: Sunday, October 3, 2010, 3:26 AM
>>      
>>> But I thought NGramFilterFactory
>>>        
>> would generate substrings
>>      
>>> that start in the "middle", hence ensuring
>>>        
>> autocomplete
>>      
>>> matching in the middle.
>>>
>>> So in the case of "electric guitar", keywordtokenizer
>>>        
>> would
>>      
>>> create one token - "electric guitar"
>>>
>>> NGramFilterFactory would then take that one toke
>>>        
>> ("electric
>>      
>>> guitar") and generate N-grams out of it. One of the
>>>        
>> ngrams
>>      
>>> would be "guit" because "guit" is a substring of
>>>        
>> "electric
>>      
>>> guitar".
>>>
>>>        
>> Ups. You are correct, I am sorry. I mixed it with
>> *Edge*NGramFilterFActory.
>>
>>
>>
>>
>>      

Mime
View raw message