How to implement Array containing query by es (elasticsearch)

es (elasticsearch) how to implement the array containing query
index data mVIA: [1,2,3]
index array NVIA: [1mem3lce4]
query condition: a: [1p3L4]
requires to include query, can find index data n, index data n is in the query condition, index data m does not meet the condition, 2 is not in the query condition

, the index data n is in the query condition, the index data m does not meet the condition, 2 is not in the query condition

, the index data n is in the query condition, the index data m does not meet the condition, 2 is not in the query condition

is currently implemented using embedded script. But it will report that too many scripts have been compiled

ask if there is a simple way.


add the condition operator: "and". It is not convenient to type on your mobile phone. You can check

.
Menu