You have to take the input and splitBy something like "," to get it into
an array and reposted back to
Solr...

I believe others have suggested that?

On 6/8/11 10:14 PM, "Pawan Darira" <pawan.dar...@gmail.com> wrote:

>Hi
>
>I am trying to index 2 fields with multiple values. BUT, it is only
>putting
>1 value for each & ignoring rest of the values after comma(,). I am
>fetching
>query through DIH. It works fine if i have only 1 value each of the 2
>fields
>
>E.g. Field1 - 150,178,461,151,310,306,305,179,137,162
>& Field2 - Chandigarh,Gurgaon,New
>Delhi,Ahmedabad,Rajkot,Surat,Mumbai,Nagpur,Pune,India - Others
>
>*Schema.xml*
>
><field name="city_type" type="text" indexed="true" stored="true"/>
><field name="city_desc" type="text" indexed="true" stored="true"/>
>
>
>p.s. i tried multivalued=true but of no help.
>
>-- 
>Thanks,
>Pawan Darira


Reply via email to