title: Lucene query for array and "IN", "ALL IN", "ANY IN" operations
body: <p>I need to implement the following predicate with Lucene query language:</p>
  
  <pre><code>{param} IN optionIds
  </code></pre>
  
  <p>where <code>{param}</code> is my external parameter and <code>optionIds</code> is an array(or collection).</p>
  
  <p>for example I have the document with the following <code>optionIds</code>:</p>
  
  <pre><code>"optionIds": [
      72,
      44,
      11,
      9,
      10
    ]
  </code></pre>
  
  <p>The following Lucene predicate <code>optionIds:72</code> correctly returns this document.</p>
  
  <p>But how to return this document based on the follownig values: 72, 11, 9</p>
  
  <p>The following predicate <code>optionIds:72, 11, 9</code> doesn't work and the Lucene query returns the empty result.</p>
  
  <p>Please show how to properly use(emulate) <code>IN</code> operation in Lucene query language with arrays(collections). Also, please show how to use <code>ALL IN/ANY IN</code>.</p>