how to index pdf,doc files from browser?

this query is used for indexing :
curl
"http://localhost:8080/solr/document/update/extract?literal.id=12&commit=true";
-F"myfile=@C:\solr\document\src\test1\Coding.pdf"

but i need to index from browser, as we do for delete:
http://localhost:8080/solr/document/update?stream.body=<delete><query>id:3</query></delete>&commit=true

When i try to index using this:
http://localhost:8080/solr/document/update/extract?literal.id=12&commit=true";
-F"myfile=@C:\solr\document\src\test1\Coding.pdf

the document does not get indexed.

Is there any query to index from browser,using html url??



--
View this message in context: 
http://lucene.472066.n3.nabble.com/indexing-from-bowser-tp4106889.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to