I have this in my solrconfig:

<requestHandler name="/select" class="solr.SearchHandler">

                <lst name="defaults">
                        <str name="echoParams">explicit</str>
                        <int name="rows">10</int>
                        <str name="df">catch_all</str>

                        <str name="spellcheck">on</str>
                        <str name="spellcheck.dictionary">default</str>
                        <str name="spellcheck.dictionary">wordbreak</str>
                        <str name="spellcheck.extendedResults">false</str>
                        <str name="spellcheck.count">5</str>
                        <str name="spellcheck.alternativeTermCount">2</str>
                        <str name="spellcheck.maxResultsForSuggest">100</str>
                        <str name="spellcheck.collate">true</str>
                        <str name="spellcheck.collateExtendedResults">true</str>
                        <str name="spellcheck.maxCollationTries">5</str>
                        <str name="spellcheck.maxCollations">3</str>
                </lst>

                <arr name="last-components">
                        <str>spellcheck</str>
                </arr>

        </requestHandler>

Although my spellchecker does work, suggesting for misspelled terms, it
doesn't work for the example above:
I mean terms which are both valid, ("gopro"=100 docs; "go pro"=150 'others'
docs).
I want to suggest "gopro" for "go pro" search term and vice-versa, even if
they're both perfectly valid terms in the index. Thank you



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Suggesting-broken-words-with-solr-WordBreakSolrSpellChecker-tp4182172p4182398.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to