Hello,
we’re using different dictionaries with the suggester component for 
autocomplete with a setup similar to the following:

<requestHandler name="/suggester" class="solr.SearchHandler" startup="lazy">
  <lst name="defaults">
    <str name="suggest">true</str>
    <str name="suggest.count">10</str>
    <str name="suggest.dictionary”>authors</str>
    <str name="suggest.dictionary”>titles</str>
    <str name="suggest.dictionary”>abstracts</str>
  </lst>
  <arr name="components">
    <str>suggester</str>
  </arr>
</requestHandler>


Is there a way to specify different count options for different dictionaries ? 
For example I’d like to have suggestions for all authors (say 1000) but 10 for 
titles and just one for abstracts. The reason to have 1000 authors is to 
present the number to the user saying ‘your search matches xxx authors, click 
here to show all’ while at the same time show the most 10 relevant titles and 
just one abstract.

Thanks!

—
Ing. Andrea Vettori
Responsabile Sistemi Informativi

Reply via email to