lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1955) DocumentAnalysisRequestHandler (/analysis/document/) fails when wt=json&indent=true params used
Date Wed, 16 Jun 2010 00:22:24 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Erik Hatcher updated SOLR-1955:
-------------------------------

    Summary: DocumentAnalysisRequestHandler (/analysis/document/) fails when wt=json&indent=true
params used  (was: DocumentAnlysisRequestHandler (/analysis/document/) fails when wt=json&indent=true
params used)

> DocumentAnalysisRequestHandler (/analysis/document/) fails when wt=json&indent=true
params used
> -----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1955
>                 URL: https://issues.apache.org/jira/browse/SOLR-1955
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: Next
>         Environment: I tested this on trunk of Solr to see if it still existed.
>            Reporter: Eric Pugh
>            Priority: Minor
>
> If you append either wt=json or indent=true, everything works great!  But if you add
both params, then you get general error:
> <body><h2>HTTP ERROR 400</h2>
> <p>Problem accessing /solr/analysis/document. Reason:
> <pre>    DocumentAnlysisRequestHandler expects a single content stream with documents
to analyze</pre></p>
> Works:
> curl http://localhost:8983/solr/analysis/document?indent=true -H 'Content-type:text/xml;
charset=utf-8' --data-binary '<docs><doc><field name="id">1</field><field
name="text">The Text Value</field></doc></docs>'
> curl http://localhost:8983/solr/analysis/document?wt=json -H 'Content-type:text/xml;
charset=utf-8' --data-binary '<docs><doc><field name="id">1</field><field
name="text">The Text Value</field></doc></docs>'
> Blows up:
> curl http://localhost:8983/solr/analysis/document?wt=json&indent=true -H 'Content-type:text/xml;
charset=utf-8' --data-binary '<docs><doc><field name="id">1</field><field
name="text">The Text Value</field></doc></docs>'

-- 
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


Mime
View raw message