Re: Facing issue while transforming and indexing custom JSON

2018-12-31 Thread Alexandre Rafalovitch
Do you have _src_ field declared in schema? It is just a non-indexed string:
https://github.com/apache/lucene-solr/blob/releases/lucene-solr/7.5.0/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema#L169

Regards,
   Alex.

On Mon, 31 Dec 2018 at 04:35, Shubhangi Shinde
 wrote:
>
> Hi Team,
>
> I am waiting for your feedback. Any update on this issue?
>
> On Fri, Dec 28, 2018 at 12:11 PM Shubhangi Shinde <
> shubhangi.shi...@iauro.com> wrote:
>
> > Hi Team,
> >
> > I am using Apache Solr. I went through the below link 'https://lucene.
> > apache.org/solr
> > /guide/7_5/transforming-and-indexing-custom-json.html#setting-json-defaults'
> > for transforming and indexing custom JSON and added the code in one of the
> > core to upload a multilevel JSON. It is throwing the below error. I spent
> > so much time to solve this error but no luck.  The error is,
> >
> > {
> >   "responseHeader":{
> > "status":400,
> > "QTime":93},
> >   "error":{
> > "metadata":[
> >   "error-class","org.apache.solr.common.SolrException",
> >   "root-error-class","org.apache.solr.common.SolrException"],
> > "msg":"ERROR: [doc=5b62d25] unknown field '_src_'",
> > "code":400}}
> >
> > I added the below code in my solrconfig.xml file. Please check,
> >
> > 
> >   
> > 
> > _src_
> > 
> > true
> > 
> > text
> >   
> >
> >
> > Please check the issue on stack overflow on the below link,
> > https://stackoverflow.com/questions/53775064/apache-solr
> > -error-unknown-field-src
> >
> > Please let me know if you want some more information about this. Thanks in
> > advance.
> >
> > --
> >
> > *Shubhangi Shinde*
> > Sr. Software Engineer, iauro Systems Pvt. Ltd.
> > 020-64008585 | shubhangi.shi...@iauro.com | www.iauro.com
> > 
> > 
> >   
> >
>
>
> --
>
> *Shubhangi Shinde*
> Sr. Software Engineer, iauro Systems Pvt. Ltd.
> 020-64008585 | shubhangi.shi...@iauro.com | www.iauro.com
> 
> 
>   


Re: Facing issue while transforming and indexing custom JSON

2018-12-31 Thread Shubhangi Shinde
Hi Team,

I am waiting for your feedback. Any update on this issue?

On Fri, Dec 28, 2018 at 12:11 PM Shubhangi Shinde <
shubhangi.shi...@iauro.com> wrote:

> Hi Team,
>
> I am using Apache Solr. I went through the below link 'https://lucene.
> apache.org/solr
> /guide/7_5/transforming-and-indexing-custom-json.html#setting-json-defaults'
> for transforming and indexing custom JSON and added the code in one of the
> core to upload a multilevel JSON. It is throwing the below error. I spent
> so much time to solve this error but no luck.  The error is,
>
> {
>   "responseHeader":{
> "status":400,
> "QTime":93},
>   "error":{
> "metadata":[
>   "error-class","org.apache.solr.common.SolrException",
>   "root-error-class","org.apache.solr.common.SolrException"],
> "msg":"ERROR: [doc=5b62d25] unknown field '_src_'",
> "code":400}}
>
> I added the below code in my solrconfig.xml file. Please check,
>
> 
>   
> 
> _src_
> 
> true
> 
> text
>   
>
>
> Please check the issue on stack overflow on the below link,
> https://stackoverflow.com/questions/53775064/apache-solr
> -error-unknown-field-src
>
> Please let me know if you want some more information about this. Thanks in
> advance.
>
> --
>
> *Shubhangi Shinde*
> Sr. Software Engineer, iauro Systems Pvt. Ltd.
> 020-64008585 | shubhangi.shi...@iauro.com | www.iauro.com
> 
> 
>   
>


-- 

*Shubhangi Shinde*
Sr. Software Engineer, iauro Systems Pvt. Ltd.
020-64008585 | shubhangi.shi...@iauro.com | www.iauro.com