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

Paul Elschot updated LUCENE-7613:
---------------------------------
    Attachment: LUCENE-7613.patch

Patch of 30 Dec 2016.

This does not affect the syntax of surround, this only adapts the lucene side 
to make better use of lucene facilities that are newer than the current version.

This uses DisjunctionMaxQuery when a query specifies multiple fields.
The method to convert to a lucene query also allows multiple default fields.

This adds methods to BasicQueryFactory to create a new SpanNearQuery and to 
create a new DisjunctionMaxQuery.

This uses SpanBoostQuery when proximity (sub)queries are boosted. There is no 
effect on the scores yet, LUCENE-7580 can change that.

This updates the test code to use CheckHits, and one test case is added.
The changes to the test code form the larger part of the patch.


> Make Surround use DisjunctionMaxQuery for multiple fields
> ---------------------------------------------------------
>
>                 Key: LUCENE-7613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7613
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/queryparser
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-7613.patch
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to