lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Solanki <nitinml...@gmail.com>
Subject Issue : Replacing ID with another will degrade performance in Solr?
Date Tue, 20 Jan 2015 07:28:27 GMT
Hi,
                 I am working on solr 4.10.2. I have been trapped into
the *performance
issue* where I have indexed 600MB data on 4 shards with single replicas
each. I have defined 2 fields (ngram and frequency). I have removed ID
field and replaced it with ngram field. Therefore, Search performance is
getting low and taking *QTime  = 134 ms* which is not well for my task.

*Schema.xml(sample part) *:-
*ngram field* -  <field name="ngram" type="textSpell" indexed="true"
stored="true" required="true" multiValued="false"/>

<fieldType name="textSpell" class="solr.TextField"
positionIncrementGap="100">
       <analyzer type="index">
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.ShingleFilterFactory" maxShingleSize="3"
minShingleSize="2" outputUnigrams="true"/>
    </analyzer>
    <analyzer type="query">
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.ShingleFilterFactory" maxShingleSize="3"
minShingleSize="2" outputUnigrams="true"/>
    </analyzer>
</fieldType>

I  have posted same problem on Stackoverflow
<http://stackoverflow.com/questions/27983291/replacing-id-with-another-will-degrade-performance-in-solr/27984428?noredirect=1#comment44431492_27984428>
but no able to get correct solution. Please help me.

Thanks and Regards,
 Nitin Solanki.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message