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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf05b1-31ce6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf05b1-31ce6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?