you just need to make the field as multivalued.

<field name="last_name" type="string" indexed="true" stored="true" * */>
<field name="trainingskill" type="string" indexed="true" stored="true"
*multiValued="true"
*/>

type should be set based on your search requirements.

On Thu, Jan 17, 2013 at 11:27 PM, anurag.jain <anurag.k...@gmail.com> wrote:

> my json file look like
>
> [ { "last_name" : "jain", "training_skill":["c", "c++", "php,java,.net"] }]
>
> can u please suggest me how should i declare field in schema for
> "trainingskill" field
>
>
>
> please reply
>
> urgent
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/MultiValue-tp4034305.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to