vgindin
(Vadim Gindin)
December 27, 2017, 7:55am
1
Hi all.
I have a difficulty, described in
Hi all.
I've written a simple plugin, that implements custom scoring logic and extending Explanation. I have some real index data that looks like this:
"_source": {
"price": 10000,
"params_model": "Дверь задняя правая Honda CR-V",
"categories": [
{
"id": 3,
"shop_category_id": "3",
"name": "Кузов наружные элементы",
"level": 1
},
{
"id": 342,
"shop_category_id": "62",
"name": "Дверь …
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
vgindin
(Vadim Gindin)
December 27, 2017, 7:00pm
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
(system)
Closed
January 24, 2018, 7:01pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.