lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: How to define Json list in schema in xml
Date Tue, 23 Dec 2014 10:55:25 GMT
A multiValued="true" string field is what you're after here. 


> On Dec 22, 2014, at 23:19, Xin Cai <> wrote:
> hi guys
> I am looking to parse a json file that contains fields that has a list of
> schools
> So for example I would have
> {"Schools":[
> name: "Seirra High School",
> name: "Walnut elementary School"]}
> So if I want to be able to index all the different schools so i can fast
> look up with people that went to a certain school, what is the best way for
> me to define the schema file? I have looked around and I don't think Solr
> has a native support for list but I can be wrong because list is used so
> often....Any advice would be appreciated. Thanks
> Xin Cai

View raw message