[
https://issues.apache.org/jira/browse/CONNECTORS-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554687#comment-13554687
]
Shinichiro Abe edited comment on CONNECTORS-613 at 1/16/13 2:57 AM:
--------------------------------------------------------------------
Thanks for debugging.
Additional info:
At curl, when I add content-type to "application/octet-stream", the content
can't be extracted.
{noformat}
curl "http://localhost:8983/solr/update/extract?literal.id=1&commit=true"
--data-binary @sjis.txt -H "Content-Type: application/octet-stream"
{noformat}
When I add content-type to "text/plain", the content can be extracted.
was (Author: shinichiro abe):
Thanks for debugging.
Additional info:
At curl, when I add content-type to "application/octet-stream", the content
can't be extracted.
{noformat}
curl "http://localhost:8983/solr/update/extract?literal.id=1&commit=true"
--data-binary @sjis.txt -H "Content-Type: application/octet-stream"
{noformat}
When I add content-type to "text/html", the content can be extracted.
> The content of sjis file can't be extracted
> -------------------------------------------
>
> Key: CONNECTORS-613
> URL: https://issues.apache.org/jira/browse/CONNECTORS-613
> Project: ManifoldCF
> Issue Type: Bug
> Components: File system connector, Lucene/SOLR connector
> Affects Versions: ManifoldCF 1.0.1, ManifoldCF 1.1
> Environment: Solr 4.x (not Solr 3.x)
> Reporter: Shinichiro Abe
> Fix For: ManifoldCF 1.1
>
> Attachments: files.zip
>
>
> When posting sjis text file by using curl, the content can be extracted.
> {noformat}
> curl "http://localhost:8983/solr/update/extract?literal.id=1&commit=true" -F
> "[email protected]"
> {noformat}
> But when posting this file by File system connector, it can't be extracted.
> it results empty.
> It seems that the content of utf-8 text file can be extracted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira