On Thu, Nov 14, 2013, at 03:45 PM, giridhar wrote:
> Hi,
> 
> I want to search in a multivalued field.
> 
> For example, my field FormIds contains (1,2,3) as comma separated.
> 
> If i search for 1 or (1,2) or (1,3) or (2,3) or (1,2,3) any combination
> like
> this should work.
> 
> How to define this multivalued integer field type.

Surely this is how multivalued fields work. If you had an integer field
type, that is defined as multiValued="true", then you can have three
values in that field, 1, 2 and 3.

Then, if you query for FormIds:(1 AND 2) will return all documents that
have both 1 and 2 in that field.

Am I missing something?

Upayavira

Reply via email to