lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-466) Need QueryParser support for BooleanQuery.minNrShouldMatch
Date Tue, 20 Mar 2012 16:09:37 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless updated LUCENE-466:
--------------------------------------

    Labels: gsoc2012 lucene-gsoc-12  (was: )
    
> Need QueryParser support for BooleanQuery.minNrShouldMatch
> ----------------------------------------------------------
>
>                 Key: LUCENE-466
>                 URL: https://issues.apache.org/jira/browse/LUCENE-466
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/search
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Mark Harwood
>            Assignee: Yonik Seeley
>            Priority: Minor
>              Labels: gsoc2012, lucene-gsoc-12
>
> Attached 2 new classes:
> 1) CoordConstrainedBooleanQuery
> A boolean query that only matches if a specified number of the contained clauses
> match. An example use might be a query that returns a list of books where ANY 2
> people from a list of people were co-authors, eg:
> "Lucene In Action" would match ("Erik Hatcher" "Otis Gospodneti&#263;" "Mark Harwood"
> "Doug Cutting") with a minRequiredOverlap of 2 because Otis and Erik wrote that.
> The book "Java Development with Ant" would not match because only 1 element in
> the list (Erik) was selected.
> 2) CustomQueryParserExample
> A customised QueryParser that allows definition of
> CoordConstrainedBooleanQueries. The solution (mis)uses fieldnames to pass
> parameters to the custom query.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message