How to specify the index mapping in ESIntegTestCase?

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

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

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