lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunayana <sunayana...@wipro.com>
Subject Re: Autocomplete with Case-insensitive feature
Date Thu, 17 Apr 2014 07:55:28 GMT
1.My field definition:
  <fieldType name="text_auto" class="solr.TextField" 
positionIncrementGap="100" >
            <analyzer type="index">
                <tokenizer class="solr.StandardTokenizerFactory"/>
	   <filter class="solr.LowerCaseFilterFactory"/>
	   <filter class="solr.ShingleFilterFactory"
                      minShingleSize="2"
                       maxShingleSize="4"
                       outputUnigrams="true"
                       outputUnigramsIfNoShingles="true"/>						
            </analyzer>
            <analyzer type="query">
                <tokenizer class="solr.StandardTokenizerFactory"/>				  
	   <filter class="solr.LowerCaseFilterFactory"/>
	   </analyzer>
    </fieldType>

2.On analysis page, it shows me the lowercased word,for both index as well
as query analyzers.Attaching a screenshot. Is there any other step that I am
mising out?
<http://lucene.472066.n3.nabble.com/file/n4131663/analysis.png> 

Dmitry Kan-2 wrote
> Could you show the updated field definition?
> Does analysis page show sensible output for your query on
> indexing/querying
> sides?
> 
> 
> On Wed, Apr 16, 2014 at 5:52 PM, Sunayana &lt;

> sunayana.02@

> &gt; wrote:
> 
>> Thanks for replying,
>> 1.Yes,I re-indexed data after the changes.
>> 2.Changing to STF, did not help..
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/Autocomplete-with-Case-insensitive-feature-tp4131182p4131499.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
> 
> 
> 
> -- 
> Dmitry
> Blog: http://dmitrykan.blogspot.com
> Twitter: http://twitter.com/dmitrykan





--
View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-with-Case-insensitive-feature-tp4131182p4131663.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message