You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/12 18:34:00 UTC

[jira] [Commented] (LUCENE-7554) FastVectorHighlighterTest.testCommonTermsQueryHighlight() failure

    [ https://issues.apache.org/jira/browse/LUCENE-7554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15660060#comment-15660060 ] 

ASF subversion and git services commented on LUCENE-7554:
---------------------------------------------------------

Commit 151ebd4da82096770f642294f5fbc1c727f80b04 in lucene-solr's branch refs/heads/branch_6x from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=151ebd4 ]

LUCENE-7554: use BM25Similarity for this test


> FastVectorHighlighterTest.testCommonTermsQueryHighlight() failure
> -----------------------------------------------------------------
>
>                 Key: LUCENE-7554
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7554
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/highlighter
>            Reporter: Steve Rowe
>
> My Jenkins found a reproducing seed on master:
> {noformat}
>   [junit4] Suite: org.apache.lucene.search.vectorhighlight.FastVectorHighlighterTest
>   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=FastVectorHighlighterTest -Dtests.method=testCommonTermsQueryHighlight -Dtests.seed=B7CD4D02A5D5B9B7 -Dtests.slow=true -Dtests.locale=ro -Dtests.timezone=Asia/Yakutsk -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>   [junit4] FAILURE 0.09s J4 | FastVectorHighlighterTest.testCommonTermsQueryHighlight <<<
>   [junit4]    > Throwable #1: org.junit.ComparisonFailure: expected:<[This piece of <b>text</b> refers to Kennedy at the beginning then has a longer piece of <b>text</b> that is <b>very</b> <b>long</b> in the middle and finally ends with another reference to Kennedy]> but was:<[Hello this is a piece of <b>text</b> that is <b>very</b> <b>long</b> and contains too much preamble and the meat is really here which says kennedy has been shot]>
>   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([B7CD4D02A5D5B9B7:8A208887DCBC2AEB]:0)
>   [junit4]    > 	at org.apache.lucene.search.vectorhighlight.FastVectorHighlighterTest.testCommonTermsQueryHighlight(FastVectorHighlighterTest.java:356)
>   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
>   [junit4]   2> NOTE: test params are: codec=Lucene70, sim=RandomSimilarity(queryNorm=false): {field_der_red=DFR I(ne)1, no_long_term=DFR GB1, field=org.apache.lucene.search.similarities.BooleanSimilarity@2f4ba3ab, field_sliced=DFR I(ne)BZ(0.3), field_tripples=DFR I(F)BZ(0.3), field_exact=DFR I(F)1, text=IB SPL-L1, field_super_exact=DFR I(n)2, field_characters=DFR I(F)3(800.0), long_term=DFR GB1}, locale=ro, timezone=Asia/Yakutsk
>   [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=396825712,total=514850816
>   [junit4]   2> NOTE: All tests run in this JVM: [TestSplittingBreakIterator, WeightedFragListBuilderTest, FieldTermStackTest, FastVectorHighlighterTest]
>   [junit4] Completed [22/31 (1!)] on J4 in 1.65s, 11 tests, 1 failure <<< FAILURES!
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org