lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FiMko <fima-regi...@ya.ru>
Subject Why suggestions can be that slow?
Date Mon, 12 Jan 2015 15:31:32 GMT
Hi all,

I'm experimenting with  Solr Suggester
<https://cwiki.apache.org/confluence/display/solr/Suggester>  . I have
configured the functionality as per the mentioned page. In my Solr
collection I have 32607 documents. The SuggestComponent is configured to
search suggestions through field of type "text_auto" as described below:

schema.xml
<field name="srcphrase_autocomplete" type="text_auto" indexed="true"
stored="true" multiValued="false" />
...
<fieldType class="solr.TextField" name="text_auto">
  <analyzer>
    <tokenizer class="solr.KeywordTokenizerFactory"/>
    <filter class="solr.LowerCaseFilterFactory"/>
  </analyzer>
</fieldType>

I'm able to receive the suggestions but Solr query execution time (QTime) is
always above 900ms.
The query:
http://localhost:8983/solr/mycollection/suggest?suggest=true&suggest.build=true&suggest.dictionary=mySuggester&suggest.q=externa
Solr ver.: 4.8.1
PC: Windows 7 Pro, 8GB, 3.2GHz.

Any ideas or suggestions on how to profile the query execution are very
welcome!



--
View this message in context: http://lucene.472066.n3.nabble.com/Why-suggestions-can-be-that-slow-tp4178944.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message