Sorry, poorly worded. I want to find all the documents which have any value, but N-M of those values.
Example: Document 1: foo:[a, b, c] Document 2: foo:[] Document 3: foo:[a, b, c, d, e, f] Document 4: foo:[a, b, c, d, e] Is there a way to find all documents with, say 3-5 values for foo (in this case, returning Document 1 and Document 4? Ian -- Ian Sefferman | (406) IAN-1337 http://www.iseff.com On Sun, Aug 9, 2009 at 9:06 PM, Avlesh Singh<avl...@gmail.com> wrote: >> >> Is there a way to find all the documents in the index that have, say, 1-5 >> (or, generally, N-M for some values of N and M) values for "foo"? >> > Sorry, but I did not understand. Do you want to find documents which have > all of these values: N, N+1, N+2 ..., M in the field "foo"? > > Cheers > Avlesh > > On Mon, Aug 10, 2009 at 8:07 AM, Ian Sefferman <is...@iseff.com> wrote: > >> Hi, >> I have an index that contains a multiValued field, "foo". >> >> Is there a way to find all the documents in the index that have, say, >> 1-5 (or, generally, N-M for some values of N and M) values for "foo"? >> >> Thanks, >> Ian >> >> -- >> Ian Sefferman | (406) IAN-1337 >> http://www.iseff.com >> >