I'm quite sure you want something like the filesystem river

http://www.pilato.fr/fsriver/

or nozzle

https://github.com/brainbot-com/es-nozzle

It is not that easy to push files to ES without such tools, you have to
analyze the content of the files. You have to consider what content you
want to analyze and store into what fields. Even with JSON, you have to
decide how to map the content (as long as you want structured search and
not a plain one-size-fits-all search).

So in short, it is not really a question whether to use HTTP or not HTTP,
but a question for the right tool (and your assumption "slight better
performance over http" is not correct but performance should not matter at
all at that point).

There are certainly more useful tools around... they are easy to find with
googling.

Jörg




On Thu, Jan 23, 2014 at 7:02 PM, ZenMaster80 <[email protected]> wrote:

> Ok great, I already prepare the files using java, so I thought it would be
> a great spot to index it as well in java (slight better performance over
> http I am guessing). I struggled to find decent examples on indexing files
> via http, I wouldn't mind testing with it as well if you can point to some
> example. How is this done, do we write curl script that run on the server?
> So in my case, Assume I have files in some folder ready for indexing, do I
> write a curl script that would go through the files and index them?
>
>
> On Thursday, January 23, 2014 12:23:27 PM UTC-5, Jörg Prante wrote:
>>
>> Yes, you can query ES with Javascript over HTTP.
>>
>> You can also use HTTP to index tons of files, that does not depend on the
>> native protocol.
>>
>> Jörg
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/eab032ba-0572-4c87-9dce-90bada20ee56%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFf91sNq_Ynq4FyGkFm1fPNAJzdEK_GF0oT4g0BMh3w0A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to