You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/01/28 16:35:13 UTC

[jira] [Commented] (LUCENE-4727) Make CommonTermsQuery#setMinShouldMatch useful

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

Commit Tag Bot commented on LUCENE-4727:
----------------------------------------

[trunk commit] Simon Willnauer
http://svn.apache.org/viewvc?view=revision&revision=1439449

LUCENE-4727: use float as minShouldMatch on CommonTermsQuery

                
> Make CommonTermsQuery#setMinShouldMatch useful
> ----------------------------------------------
>
>                 Key: LUCENE-4727
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4727
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/other
>    Affects Versions: 4.1
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>            Priority: Minor
>             Fix For: 4.2, 5.0
>
>         Attachments: LUCENE-4727.patch
>
>
> Currently common terms query accepts an integer as minimumNumShouldMatch which is kind of odd since the number of low freq terms is determined during rewrite. We should make this extendable and use a float by default that works similar to the cutoff frequency we use where a range between [0..1) means a fraction of the actual count and a num >= 1.0 an absolute value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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