Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4280

spellcheck.maxResultsForSuggest based on filter query results

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.5
    • spellchecker
    • None

    Description

      spellcheck.maxResultsForSuggest takes a fixed number but ideally should be able to take a ratio and calculate that against the maximum number of results the filter queries return.

      At least in our case this would certainly add a lot of value. >99% of our end-users search within one or more filters of which one is always unique. The number of documents for each of those unique filters varies significantly ranging from 300 to 3.000.000 documents in which they search. The maxResultsForSuggest is set to a reasonable low value so it kind of works fine but sometimes leads to undesired suggestions for a large subcorpus that has more misspellings.

      Spun off from SOLR-4278.

      Attachments

        1. SOLR-4280.patch
          14 kB
          James Dyer
        2. SOLR-4280.patch
          13 kB
          Markus Jelsma
        3. SOLR-4280.patch
          11 kB
          James Dyer
        4. SOLR-4280-trunk.patch
          5 kB
          Markus Jelsma
        5. SOLR-4280-trunk.patch
          5 kB
          Markus Jelsma
        6. SOLR-4280-trunk-1.patch
          5 kB
          Markus Jelsma

        Issue Links

          Activity

            People

              jdyer James Dyer
              markus17 Markus Jelsma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: