No, I don't believe so.  Instead you should add an integer field which has the 
number of values you have in your multi-valued field.

~ David Smiley

________________________________________
From: Ian Sefferman [is...@iseff.com]
Sent: Sunday, August 09, 2009 10:37 PM
To: solr-user@lucene.apache.org
Subject: Querying for documents with a certain number of values?

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

Reply via email to