Hi,

I was exploring and trying out SOLR CELL to ingest and index binary files like 
PDF files. I followed the instructions and it worked initially but when I tried 
to redo it from scratch to add some more parameters in the HTTP POST request, 
it stop working. The same PDF file is not anymore being indexed it seems. Any 
thoughts why?

Commands that I have executed:
bin\solr start -e schemaless -Dsolr.modules=extraction
curl -X POST -H "Content-type:application/json" 
http://localhost:8983/solr/gettingstarted/config -d "{'add-requesthandler': 
{'name': '/update/extract', 'class': 
'solr.extraction.ExtractingRequestHandler','defaults':{'lowernames': 
'true','captureAttr':'true'}}}"
curl 
http://localhost:8983/solr/gettingstarted/update/extract?literal.id=doc1&commit=true
 -F "myfile=C:\Temp\solr-9.2.1\example\exampledocs\solr-word.pdf"
---------------------------------------------
bin\solr delete -c gettingstarted
bin\solr stop -p 8983
bin\solr start -e schemaless -Dsolr.modules=extraction
curl -X POST -H "Content-type:application/json" 
http://localhost:8983/solr/gettingstarted/config -d "{'add-requesthandler': 
{'name': '/update/extract', 'class': 
'solr.extraction.ExtractingRequestHandler','defaults':{'lowernames': 
'true','captureAttr':'true'}}}"
curl 
http://localhost:8983/solr/gettingstarted/update/extract?literal.id=doc1&uprefix=ignored_&fmap.last_modified=last_modified_dt&commit=true
 -F "myfile=C:\Temp\solr-9.2.1\example\exampledocs\solr-word.pdf"

Appreciate your guidance.

Regards,
Rhoden

________________________________

This electronic message contains information from CACI International Inc or 
subsidiary companies, which may be company sensitive, proprietary, privileged 
or otherwise protected from disclosure. The information is intended to be used 
solely by the recipient(s) named above. If you are not an intended recipient, 
be aware that any review, disclosure, copying, distribution or use of this 
transmission or its contents is prohibited. If you have received this 
transmission in error, please notify the sender immediately.

Reply via email to