Hi All, I have a specific requirement in the multi-valued field type.The requirement is as follows
There is a multivalued field in each document which can have mutliple elements or single element. For Eg: Consider that following are the documents matched for say q= *:* *DOC1* <doc> <arr name="multi"> <str>1</str> </arr> </doc> * * *DOC2* <doc> <arr name="multi"> <str>1</str> <str>3</str> <str>4</str> </arr> </doc> *DOC3* <doc> <arr name="multi"> <str>1</str> <str>2</str> </arr> </doc> 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.. Is there anyway to achieve this? Awaiting reply, Thanks & Regards, Rajani