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

Steve Rowe commented on LUCENE-6819:
------------------------------------

{{ExtractingRequestHandlerTest.testExtraction()}} has been failing since the 
master commit on this issue 
[https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8ed2b76], e.g. 
[http://jenkins.sarowe.net/job/Lucene-Solr-tests-master/10364/]:

{noformat}
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=ExtractingRequestHandlerTest -Dtests.method=testExtraction 
-Dtests.seed=F122EB76205DC618 -Dtests.slow=true -Dtests.locale=es-HN 
-Dtests.timezone=America/Inuvik -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.12s J1 | ExtractingRequestHandlerTest.testExtraction <<<
   [junit4]    > Throwable #1: java.lang.RuntimeException: Exception during 
query
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([F122EB76205DC618:48519F085C7516ED]:0)
   [junit4]    >        at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:919)
   [junit4]    >        at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:886)
   [junit4]    >        at 
org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.testExtraction(ExtractingRequestHandlerTest.java:128)
   [junit4]    >        at java.lang.Thread.run(Thread.java:745)
   [junit4]    > Caused by: java.lang.RuntimeException: REQUEST FAILED: 
xpath=//doc[1]/str[.='simple3']
   [junit4]    >        xml response was: <?xml version="1.0" encoding="UTF-8"?>
   [junit4]    > <response>
   [junit4]    > <lst name="responseHeader"><int name="status">0</int><int 
name="QTime">0</int></lst><result name="response" numFound="2" 
start="0"><doc><arr 
name="t_meta"><str>stream_size</str><str>365</str><str>X-Parsed-By</str><str>org.apache.tika.parser.DefaultParser</str><str>X-Parsed-By</str><str>org.apache.tika.parser.html.HtmlParser</str><str>stream_content_type</str><str>application/xml</str><str>stream_name</str><str>simple.html</str><str>stream_source_info</str><str>file:/var/lib/jenkins/jobs/Lucene-Solr-tests-master/workspace/solr/contrib/extraction/src/test-files/extraction/simple.html</str><str>dc:title</str><str>Welcome
 to 
Solr</str><str>Content-Encoding</str><str>ISO-8859-1</str><str>Content-Type</str><str>text/html;
 charset=ISO-8859-1</str></arr><arr 
name="t_href"><str>rect</str><str>http://www.apache.org</str></arr><str 
name="id">simple2</str><arr name="stream_size"><str>365</str></arr><arr 
name="t_x_parsed_by"><str>org.apache.tika.parser.DefaultParser</str><str>org.apache.tika.parser.html.HtmlParser</str></arr><arr
 name="stream_content_type"><str>application/xml</str></arr><arr 
name="stream_name"><str>simple.html</str></arr><arr 
name="stream_source_info"><str>file:/var/lib/jenkins/jobs/Lucene-Solr-tests-master/workspace/solr/contrib/extraction/src/test-files/extraction/simple.html</str></arr><arr
 name="t_dc_title"><str>Welcome to Solr</str></arr><arr 
name="t_content_encoding"><str>ISO-8859-1</str></arr><arr 
name="title"><str>Welcome to Solr</str></arr><arr 
name="t_abcxyz"><str>text/html; charset=ISO-8859-1</str></arr><arr 
name="t_content"><str> 
   [junit4]    >  
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >  Welcome to Solr 
   [junit4]    >  
   [junit4]    >  
   [junit4]    >  
   [junit4]    >   Here is some text
   [junit4]    >  
   [junit4]    >  distinct
   [junit4]    > words 
   [junit4]    >  Here is some text in a div 
   [junit4]    >  This has a  link . 
   [junit4]    >   </str></arr><arr 
name="multiDefault"><str>muLti-Default</str></arr><int 
name="intDefault">42</int><date 
name="timestamp">2017-03-03T09:02:52.622Z</date></doc><doc><arr 
name="t_meta"><str>stream_size</str><str>365</str><str>X-Parsed-By</str><str>org.apache.tika.parser.DefaultParser</str><str>X-Parsed-By</str><str>org.apache.tika.parser.html.HtmlParser</str><str>stream_content_type</str><str>application/xml</str><str>stream_name</str><str>simple.html</str><str>stream_source_info</str><str>file:/var/lib/jenkins/jobs/Lucene-Solr-tests-master/workspace/solr/contrib/extraction/src/test-files/extraction/simple.html</str><str>dc:title</str><str>Welcome
 to 
Solr</str><str>Content-Encoding</str><str>ISO-8859-1</str><str>Content-Type</str><str>text/html;
 charset=ISO-8859-1</str></arr><arr 
name="t_href"><str>rect</str><str>http://www.apache.org</str></arr><str 
name="id">simple3</str><arr name="stream_size"><str>365</str></arr><arr 
name="t_x_parsed_by"><str>org.apache.tika.parser.DefaultParser</str><str>org.apache.tika.parser.html.HtmlParser</str></arr><arr
 name="stream_content_type"><str>application/xml</str></arr><arr 
name="stream_name"><str>simple.html</str></arr><arr 
name="stream_source_info"><str>file:/var/lib/jenkins/jobs/Lucene-Solr-tests-master/workspace/solr/contrib/extraction/src/test-files/extraction/simple.html</str></arr><arr
 name="t_dc_title"><str>Welcome to Solr</str></arr><arr 
name="t_content_encoding"><str>ISO-8859-1</str></arr><arr 
name="title"><str>Welcome to Solr</str></arr><arr 
name="t_content_type"><str>text/html; charset=ISO-8859-1</str></arr><arr 
name="t_content"><str> 
   [junit4]    >  
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >   
   [junit4]    >  Welcome to Solr 
   [junit4]    >  
   [junit4]    >  
   [junit4]    >  
   [junit4]    >   Here is some text
   [junit4]    >  
   [junit4]    >  distinct
   [junit4]    > words 
   [junit4]    >  Here is some text in a div 
   [junit4]    >  This has a  link . 
   [junit4]    >   </str></arr><arr 
name="multiDefault"><str>muLti-Default</str></arr><int 
name="intDefault">42</int><date 
name="timestamp">2017-03-03T09:02:52.660Z</date></doc></result>
   [junit4]    > </response>
   [junit4]    >        request 
was:q=t_href:http&qt=standard&start=0&rows=20&version=2.2
   [junit4]    >        at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:912)
[...]
   [junit4]   2> NOTE: test params are: 
codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST,
 chunkSize=6, maxDocsPerChunk=8, blockSize=301), 
termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST, 
chunkSize=6, blockSize=301)), sim=RandomSimilarity(queryNorm=true): {}, 
locale=es-HN, timezone=America/Inuvik
   [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
1.8.0_77 (64-bit)/cpus=16,threads=1,free=423346232,total=485490688
{noformat}

I got 10/10 failures when I beasted the test using Miller's beasting script on 
master HEAD.

> Deprecate index-time boosts?
> ----------------------------
>
>                 Key: LUCENE-6819
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6819
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: master (7.0), 6.5
>
>         Attachments: LUCENE-6819-deprecation.patch, 
> LUCENE-6819-deprecation.patch, LUCENE-6819-deprecation.patch, 
> LUCENE-6819.patch, LUCENE-6819.patch, LUCENE-6819-wip.patch
>
>
> Follow-up of this comment: 
> https://issues.apache.org/jira/browse/LUCENE-6818?focusedCommentId=14934801&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14934801
> Index-time boosts are a very expert feature whose behaviour is tight to the 
> Similarity impl. Additionally users have often be confused by the poor 
> precision due to the fact that we encode values on a single byte. But now we 
> have doc values that allow you to encode any values the way you want with as 
> much precision as you need so maybe we should deprecate index-time boosts and 
> recommend to encode index-time scoring factors into doc values fields instead.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to