How to specify the index mapping in ESIntegTestCase?


(Vadim Gindin) #1

Hi all.

I have a difficulty, described in

I suppose that the reason is in mapping differences between the index created in my test and the real index in the real elasticsearch installation.

Could somebody tell me a way how to specify the index mapping in my test case (ESIntegTestCase)?

Regards,
Vadim Gindin


(Vadim Gindin) #2

I've found the way. It is the use of CreateIndexRequestBuilder.addMapping(). The question about the index mapping in the integration test is closed.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.