[
https://issues.apache.org/jira/browse/LUCENE-7449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871585#comment-15871585
]
Michael McCandless commented on LUCENE-7449:
--------------------------------------------
One of the ES Lucene jobs hit this test failure ... I haven't checked if it
reproduces:
{noformat}
[junit4] Suite: org.apache.lucene.search.TestDoubleRangeFieldQueries
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestDoubleRangeFieldQueries -Dtests.method=testRandomTiny
-Dtests.seed=792130AB9E891AA1 -Dtests.slow=true -Dtests.locale=nl
-Dtests.timezone=Asia/Atyrau -Dtests.asserts=true
-Dtests.file.encoding=ISO-8859-1
[junit4] FAILURE 0.04s J0 | TestDoubleRangeFieldQueries.testRandomTiny <<<
[junit4] > Throwable #1: java.lang.AssertionError: wrong hit (first of
possibly more):
[junit4] > FAIL (iter 6): id=0 should not match but did
[junit4] > queryRange=Box(-8.542463800517043E307 TO
8.712902176567828E307)
[junit4] > box=Box(-4.889774907987475E307 TO 7.344527517013989E306)
[junit4] > queryType=CROSSES
[junit4] > deleted?=false
[junit4] > at
__randomizedtesting.SeedInfo.seed([792130AB9E891AA1:3066EEEDC0A8220D]:0)
[junit4] > at
org.apache.lucene.search.BaseRangeFieldQueryTestCase.verify(BaseRangeFieldQueryTestCase.java:287)
[junit4] > at
org.apache.lucene.search.BaseRangeFieldQueryTestCase.doTestRandom(BaseRangeFieldQueryTestCase.java:158)
[junit4] > at
org.apache.lucene.search.BaseRangeFieldQueryTestCase.testRandomTiny(BaseRangeFieldQueryTestCase.java:64)
[junit4] > at java.lang.Thread.run(Thread.java:745)
{noformat}
> Add CROSSES query support to RangeField
> ---------------------------------------
>
> Key: LUCENE-7449
> URL: https://issues.apache.org/jira/browse/LUCENE-7449
> Project: Lucene - Core
> Issue Type: New Feature
> Reporter: Nicholas Knize
> Assignee: Nicholas Knize
> Fix For: master (7.0), 6.5
>
> Attachments: LUCENE-7449.patch, LUCENE-7449.patch, LUCENE-7449.patch
>
>
> {{RangeField}} currently supports {{INTERSECTS}}, {{WITHIN}}, and
> {{CONTAINS}} query behavior. This feature adds support for an explicit
> {{CROSSES}} query. Unlike {{INTERSECT}} and {{OVERLAP}} queries the
> {{CROSSES}} query finds any indexed ranges whose interior (within range)
> intersect the interior AND exterior (outside range) of the query range.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]