You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2010/08/25 16:08:20 UTC

[jira] Commented: (SOLR-2088) contrib/extraction fails on a turkish computer

    [ https://issues.apache.org/jira/browse/SOLR-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902453#action_12902453 ] 

Mark Miller commented on SOLR-2088:
-----------------------------------

I'm running into this on my hudson box - more info:

Stacktrace

junit.framework.AssertionFailedError: query failed XPath: //*[@numFound='1']
 xml response was: <?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">3</int></lst><result name="response" numFound="0" start="0"/>
</response>

 request was: start=0&q=title:Welcome&qt=standard&rows=20&version=2.2
	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:320)
	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:310)
	at org.apache.solr.handler.ExtractingRequestHandlerTest.testExtraction(ExtractingRequestHandlerTest.java:83)
Standard Output

NOTE: random codec of testcase 'testExtraction' was: MockSep
NOTE: random locale of testcase 'testExtraction' was: tr
NOTE: random timezone of testcase 'testExtraction' was: Africa/Dar_es_Salaam
Standard Error

25.Ağu.2010 08:51:38 org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: ERROR:unknown field 'a'
	at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:321)
	at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60)
	at org.apache.solr.handler.extraction.ExtractingDocumentLoader.doAdd(ExtractingDocumentLoader.java:120)
	at org.apache.solr.handler.extraction.ExtractingDocumentLoader.addDoc(ExtractingDocumentLoader.java:125)
	at org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(ExtractingDocumentLoader.java:195)
	at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1323)
	at org.apache.solr.util.TestHarness.queryAndResponse(TestHarness.java:334)
	at org.apache.solr.handler.ExtractingRequestHandlerTest.loadLocal(ExtractingRequestHandlerTest.java:361)
	at org.apache.solr.handler.ExtractingRequestHandlerTest.testDefaultField(ExtractingRequestHandlerTest.java:149)

> contrib/extraction fails on a turkish computer
> ----------------------------------------------
>
>                 Key: SOLR-2088
>                 URL: https://issues.apache.org/jira/browse/SOLR-2088
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Solr Cell (Tika extraction)
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>
> reproduce with: ant test -Dtests.locale=tr_TR
> {noformat}
> test:
>     [junit] Running org.apache.solr.handler.ExtractingRequestHandlerTest
>     [junit]  xml response was: <?xml version="1.0" encoding="UTF-8"?>
>     [junit] <response>
>     [junit] <lst name="responseHeader"><int name="status">0</int><int name="QTime">5</int></lst>
> <result name="response" numFound="0" start="0"/>
>     [junit] </response>
>     [junit]
>     [junit]  request was: start=0&q=title:Welcome&qt=standard&rows=20&version=2.2)
>     [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 3.968 sec
>     [junit] Test org.apache.solr.handler.ExtractingRequestHandlerTest FAILED
> BUILD FAILED
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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