[
https://issues.apache.org/jira/browse/LUCENE-6706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652893#comment-14652893
]
Steve Rowe commented on LUCENE-6706:
------------------------------------
Reproduces for me on branch_5x/win7/java8:
[http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Windows/4974/]:
{noformat}
[junit4] Suite: org.apache.lucene.search.payloads.TestPayloadScoreQuery
[junit4] 2> NOTE: download the large Jenkins line-docs file by running
'ant get-jenkins-line-docs' in the lucene directory.
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestPayloadScoreQuery -Dtests.method=testSpanContainingQuery
-Dtests.seed=5A58A589322E17 -Dtests.slow=true -Dtests.linedocsfile=e
:/Lucene_data/enwiki.random.lines.txt -Dtests.locale=nl_BE
-Dtests.timezone=US/Samoa -Dtests.asserts=true -Dtests.file.encoding=Cp1252
[junit4] FAILURE 0.12s | TestPayloadScoreQuery.testSpanContainingQuery <<<
[junit4] > Throwable #1: java.lang.AssertionError: Unexpected hit in
document 296
[junit4] > at
__randomizedtesting.SeedInfo.seed([5A58A589322E17:8964B028249CFB65]:0)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.checkQuery(TestPayloadScoreQuery.java:66)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.testSpanContainingQuery(TestPayloadScoreQuery.java:152)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> NOTE: download the large Jenkins line-docs file by running
'ant get-jenkins-line-docs' in the lucene directory.
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestPayloadScoreQuery -Dtests.method=testNearQuery
-Dtests.seed=5A58A589322E17 -Dtests.slow=true -Dtests.linedocsfile=e:/Lucene_d
ata/enwiki.random.lines.txt -Dtests.locale=nl_BE -Dtests.timezone=US/Samoa
-Dtests.asserts=true -Dtests.file.encoding=Cp1252
[junit4] FAILURE 0.01s | TestPayloadScoreQuery.testNearQuery <<<
[junit4] > Throwable #1: java.lang.AssertionError: Unexpected hit in
document 296
[junit4] > at
__randomizedtesting.SeedInfo.seed([5A58A589322E17:40BA355A8FFBB4DB]:0)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.checkQuery(TestPayloadScoreQuery.java:66)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.testNearQuery(TestPayloadScoreQuery.java:112)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> NOTE: download the large Jenkins line-docs file by running
'ant get-jenkins-line-docs' in the lucene directory.
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestPayloadScoreQuery -Dtests.method=testOrQuery
-Dtests.seed=5A58A589322E17 -Dtests.slow=true
-Dtests.linedocsfile=e:/Lucene_data/enwiki.random.lines.txt
-Dtests.locale=nl_BE -Dtests.timezone=US/Samoa -Dtests.asserts=true
-Dtests.file.encoding=Cp1252
[junit4] FAILURE 0.01s | TestPayloadScoreQuery.testOrQuery <<<
[junit4] > Throwable #1: java.lang.AssertionError: Unexpected hit in
document 292
[junit4] > at
__randomizedtesting.SeedInfo.seed([5A58A589322E17:603E139078605B5F]:0)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.checkQuery(TestPayloadScoreQuery.java:66)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.testOrQuery(TestPayloadScoreQuery.java:93)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> NOTE: download the large Jenkins line-docs file by running
'ant get-jenkins-line-docs' in the lucene directory.
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestPayloadScoreQuery -Dtests.method=testTermQuery
-Dtests.seed=5A58A589322E17 -Dtests.slow=true
-Dtests.linedocsfile=e:/Lucene_data/enwiki.random.lines.txt
-Dtests.locale=nl_BE -Dtests.timezone=US/Samoa -Dtests.asserts=true
-Dtests.file.encoding=Cp1252
[junit4] FAILURE 0.01s | TestPayloadScoreQuery.testTermQuery <<<
[junit4] > Throwable #1: java.lang.AssertionError: Unexpected hit in
document 292
[junit4] > at
__randomizedtesting.SeedInfo.seed([5A58A589322E17:BF4CC9B6B5DEAF7]:0)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.checkQuery(TestPayloadScoreQuery.java:66)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.testTermQuery(TestPayloadScoreQuery.java:80)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> NOTE: download the large Jenkins line-docs file by running
'ant get-jenkins-line-docs' in the lucene directory.
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestPayloadScoreQuery -Dtests.method=testNestedNearQuery
-Dtests.seed=5A58A589322E17 -Dtests.slow=true
-Dtests.linedocsfile=e:/Lucene_data/enwiki.random.lines.txt
-Dtests.locale=nl_BE -Dtests.timezone=US/Samoa -Dtests.asserts=true
-Dtests.file.encoding=Cp1252
[junit4] FAILURE 0.02s | TestPayloadScoreQuery.testNestedNearQuery <<<
[junit4] > Throwable #1: java.lang.AssertionError: Unexpected hit in
document 296
[junit4] > at
__randomizedtesting.SeedInfo.seed([5A58A589322E17:42ABC93E88608A50]:0)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.checkQuery(TestPayloadScoreQuery.java:66)
[junit4] > at
org.apache.lucene.search.payloads.TestPayloadScoreQuery.testNestedNearQuery(TestPayloadScoreQuery.java:134)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene53):
{field=Lucene50(blocksize=128), field2=PostingsFormat(name=Asserting)},
docValues:{}, sim=DefaultSimilarity, locale=nl_BE, timezone=US/Samoa
[junit4] 2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.8.0_20
(64-bit)/cpus=8,threads=1,free=99534872,total=124780544
[junit4] 2> NOTE: All tests run in this JVM: [TestPayloadScoreQuery]
{noformat}
> Support Payload scoring for all SpanQueries
> -------------------------------------------
>
> Key: LUCENE-6706
> URL: https://issues.apache.org/jira/browse/LUCENE-6706
> Project: Lucene - Core
> Issue Type: New Feature
> Components: core/query/scoring
> Affects Versions: 5.2.1
> Reporter: Jamie Johnson
> Assignee: Alan Woodward
> Priority: Minor
> Fix For: 5.3
>
> Attachments: LUCENE-6706.patch, PayloadSpanOrQuery.java
>
>
> I need a way to have payloads influence the score of SpanOrQuery's.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]