Answer the question
In order to leave comments, you need to log in
Is there an analogue of IN() in ElasticSearch for nested?
There is a mapping for products (a product can have several categories):
'categories' => array(
'properties' => array(
'category_id' => array(
'type' => 'string',
'index' => 'not_analyzed'
),
'position' => array(
'type' => 'integer',
'index' => 'not_analyzed'
)
),
'type' => 'nested',
),
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question