Hi,

I'm running a Tika server with HttpFetcher and SolrEmitter, and it works
great.

When asking Tika to send documents to Solr, I can specify the document id
as "emitKey" parameter:

curl -X POST -H "Content-Type: application/json" -d '{"fetcher":"http",
"fetchKey":"<URL>", "emitter":"solr", "emitKey":"<Document Id>"}'
http://tika.server

Is there a way to specify more custom fields for the Solr document being
submitted, like:

curl -X POST -H "Content-Type: application/json" -d '{"fetcher":"http",
"fetchKey":"<URL>", "emitter":"solr", "emitKey":"<Document Id>",
"anotherSolrField":"<Value>", "yetAnotherSolrField":"<Value>"}'
http://tika.server

We would like to set around 10 custom fields in each Solr document, such as
the id of the user who created the PDF/Word, etc, so the values for the
Solr fields would be different for each Solr document.

Thanks,
-Sam

Reply via email to