Re: Fieldtype json supported in SOLR 5.4.0 or 5.4.1

2017-04-02 Thread Abhijit Pawar
Hi Edwin, ​​ I had to replace <> value with <> in in my data-source-config file and was able to index the data. ​However w​ ith IP address it is still not working. In solr-config.xml I am not seeing anywhere to mention schema.xml or managed-schema.xml. ​Meanwhile going back to my original ques

Re: Fieldtype json supported in SOLR 5.4.0 or 5.4.1

2017-04-01 Thread Zheng Lin Edwin Yeo
Did you upgrade your solrconfig.xml to the Solr 6.0 version too? There are some difference in Solr 6.0 version which requires setting to determine whether to use managed-schema or classic schema (the physical schema.xml file) Regards, Edwin On 1 April 2017 at 01:27, Abhijit Pawar wrote: > Hi Ri

Re: Fieldtype json supported in SOLR 5.4.0 or 5.4.1

2017-03-31 Thread Abhijit Pawar
Hi Rick, I tried installing SOLR 6.0 since SOLR 6.0 has managed-schema and tried index the data from mongoDB : ​This is the error I get : getNext() failed for query 'SELECT orgidStr,idStr,name,code,description,price,images,categoriesStr,enddate_solar,begin_date_solar,status_solar,c

Re: Fieldtype json supported in SOLR 5.4.0 or 5.4.1

2017-03-29 Thread Abhijit Pawar
Thanks Rick. Does that mean I need to define managed-schema.xml, I thought it gets created by default on installing but only on later versions of SOLR ( 6.0 or later). Will managed-schema help in indexing the JSON type fields in the mongoDB ? How do I define the managed-schema in SOLR 5.4.0 ?

Re: Fieldtype json supported in SOLR 5.4.0 or 5.4.1

2017-03-28 Thread Rick Leir
Abhijit In Mongo you probably have one JSON record per document. You can post that JSON record to Solr, and the JSON fields get indexed. The github project you mention does just that. If you use the Solr managed schema then Solr will automatically define fields based on what it receives. Otherw