Remote stream multiple files in SOLR

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-02-18T11:41:22Z Indexed on 2010/04/04 0:03 UTC
Read the original article Hit count: 294

Filed under:
|
|

I want to use SOLR's remote-streaming facility to extract and index the content of files.

This works fine if I pass stream.file=xxx as a parameter to the http GET method.

However, I have a lot of these, and want to batch them up (i.e. not have to have a GET per file).

Is there a way I can do this in SOLR?

e.g. I'd like to be able to POST some xml like this:

<add>
  <doc stream_file="filename">
    <field name="id">123</field>
  </doc>
  <doc>...

© Stack Overflow or respective owner

Related posts about solr

Related posts about remote