asfimport opened a new issue, #1544:
URL: https://github.com/apache/lucene/issues/1544
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ć" "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.
---
Migrated from [LUCENE-466](https://issues.apache.org/jira/browse/LUCENE-466)
by Mark Harwood (@markharwood), 1 vote, updated Mar 19 2014
Environment:
```
Operating System: other
Platform: Other
```
Linked issues:
- #1473
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]