Hello,

We're building an auto suggest component based on the "label" field of
documents.  Is there a way to see how many terms are in the dictionary, or
how much memory it's taking up?  I looked on the statistics page but didn't
find anything obvious.

Thanks in advance,

Mike

ps- here's the config:

    <searchComponent name="suggestlabel" class="solr.SpellCheckComponent">
        <lst name="spellchecker">
            <str name="name">suggestlabel</str>
            <str
name="classname">org.apache.solr.spelling.suggest.Suggester</str>
            <str
name="lookupImpl">org.apache.solr.spelling.suggest.tst.TSTLookup</str>
            <str name="field">label</str>
            <str name="buildOnOptimize">true</str>
        </lst>
    </searchComponent>

    <requestHandler name="suggestlabel"
class="org.apache.solr.handler.component.SearchHandler">
        <lst name="defaults">
            <str name="spellcheck">true</str>
            <str name="spellcheck.dictionary">suggestlabel</str>
            <str name="spellcheck.count">10</str>
        </lst>
        <arr name="components">
            <str>suggestlabel</str>
        </arr>
    </requestHandler>

Reply via email to