: The query is get only those documents which have multiple elements for : that multivalued field. : : I.e, doc 2 and 3 should be returned from the above set..
The only way to do something like this is to add a field when you index your documents that contains the number and then filter on that field using a range query. With an UpdateProcessor (or a ScriptTransformer in DIH) you can automate counting how many values there are -- but it has to be indexed to search/filter on it. -Hoss