ElasticSearch Analyzers with JAVA API


(Saurabh) #1

I am using bulkRequestBuilder to create index. How to use analyzers with it?


(Shay Banon) #2

You mean configure different analyzers? thats done on the mapping phase,
when you create an index, you can define custom mappings for fields, and
with them, define custom analyzers.

On Wed, Jun 13, 2012 at 10:03 AM, Saurabh saurabh.k1510@gmail.com wrote:

I am using bulkRequestBuilder to create index. How to use analyzers with
it?


(Saurabh) #3

Thanks, i will look into it.

On Fri, Jun 15, 2012 at 2:37 AM, Shay Banon kimchy@gmail.com wrote:

You mean configure different analyzers? thats done on the mapping phase,
when you create an index, you can define custom mappings for fields, and
with them, define custom analyzers.

On Wed, Jun 13, 2012 at 10:03 AM, Saurabh saurabh.k1510@gmail.com wrote:

I am using bulkRequestBuilder to create index. How to use analyzers with
it?

--
Saurabh Kumar
M.Sc (Mathematics) B.E (Computer Science)
Birla Institute of Technology and Science-Pilani


(wishnaveen) #4

Hi Saurabh,

Please can you provide me the code snippet for how to use analyzers in case
of bulk request builder using java api.

Much appreciated if you could respond as soon as possible. We struck at that
point.

Thanks,
Navvi.


(system) #5