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

Karl Wright commented on CONNECTORS-613:
----------------------------------------

For curl, here's the -vvv output:

{code}
C:\temparea\files>curl -vvv 
"http://localhost:8983/solr/update/extract?literal.id=1&commit=true"; -F 
"[email protected]"
* About to connect() to localhost port 8983 (#0)
*   Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8983 (#0)
> POST /solr/update/extract?literal.id=1&commit=true HTTP/1.1
> User-Agent: curl/7.21.7 (i386-pc-win32) libcurl/7.21.7 OpenSSL/1.0.0c 
> zlib/1.2.5 librtmp/2.3
> Host: localhost:8983
> Accept: */*
> Content-Length: 237
> Expect: 100-continue
> Content-Type: multipart/form-data; 
> boundary=----------------------------0c7660c0a770
>
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< Content-Type: application/xml; charset=UTF-8
< Transfer-Encoding: chunked
<
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">210</int>
</lst>
</response>
* Connection #0 to host localhost left intact
* Closing connection #0
{code}

                
> 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

Reply via email to