Seems I know the answer. The example query from mentioned above page: 
http://localhost:8983/solr/techproducts/suggest?suggest=true&suggest.build=true&suggest.dictionary=mySuggester&wt=json&suggest.q=elec
<http://localhost:8983/solr/techproducts/suggest?suggest=true&suggest.build=true&suggest.dictionary=mySuggester&wt=json&suggest.q=elec>
  
each time rebuild the index. After I removed the "suggest.build=true"
parameter the query takes 5ms maximum now.

The page even warns: "note, however, that you would likely not want to build
the index on every query" so this just a lack of attention from me.



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

Reply via email to