Re: Wrong ID in explain() method.

2017-12-31 Thread Vadim Gindin
Yes, thanks a lot for your help. Do you mean that id of category must not be transferred to explain? If yes why it is happen? Regards Vadim Gindin 29 дек. 2017 г. 14:22 пользователь "Mikhail Khludnev" написал: > Responded on the elastic forum. Have you seen it? > > > On Fri, Dec 29, 2017 at 9:

Re: Wrong ID in explain() method.

2017-12-29 Thread Mikhail Khludnev
Responded on the elastic forum. Have you seen it? On Fri, Dec 29, 2017 at 9:25 AM, Vadim Gindin wrote: > If I check > > GET myindex/mytype/342 > > Nothing is found. > > I suppose there is a name conflict and Lucene erroneously finds "id" of > a nested object (category from a list) and erroneous

Re: Wrong ID in explain() method.

2017-12-28 Thread Vadim Gindin
If I check GET myindex/mytype/342 Nothing is found. I suppose there is a name conflict and Lucene erroneously finds "id" of a nested object (category from a list) and erroneously assumes that it is an ID of a whole document. Is that possible? Is "id" string is reserved word for Lucene? Regards

Wrong ID in explain() method.

2017-12-26 Thread Vadim Gindin
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": 1, "params_model": "Дверь задняя правая Honda CR-V", "categories": [ {