You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2015/12/08 13:06:10 UTC

[jira] [Commented] (SOLR-4280) spellcheck.maxResultsForSuggest based on filter query results

    [ https://issues.apache.org/jira/browse/SOLR-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15046790#comment-15046790 ] 

Markus Jelsma commented on SOLR-4280:
-------------------------------------

Hello [~jdyer] - this sounds very good. However, an addition to this feature would be the option to also choose which filter the fraction operates on. I have seen some strange results when drilling deeper using more and more restrictive filters.

It was originally meant to use maxResultsForSuggest in a multi-tenant index. The current maxResultsForSuggest is not suitable for clients having a very large index and clients having a small index.

How about an optional spellcheck.maxResultsForSuggest.fq=field:value. If the user specifies this, the patch won't need to find the most restrictive filter.

M.

> spellcheck.maxResultsForSuggest based on filter query results
> -------------------------------------------------------------
>
>                 Key: SOLR-4280
>                 URL: https://issues.apache.org/jira/browse/SOLR-4280
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>            Reporter: Markus Jelsma
>             Fix For: 4.9, Trunk
>
>         Attachments: SOLR-4280-trunk-1.patch, SOLR-4280-trunk.patch, SOLR-4280-trunk.patch, SOLR-4280.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org