Re: Regarding JSON indexing in SOLR 4.10

2016-03-30 Thread Erick Erickson
Hmmm, not sure and unfortunately won't be able to look very closely. Do the Solr logs say anything more informative? Also, the admin UI>>select core>>documents lets you submit docs interactively to Solr, that's also worth a try I should think. Best, Erick On Wed, Mar 30, 2016 at 3:15 PM, Aditya

Re: Regarding JSON indexing in SOLR 4.10

2016-03-30 Thread Aditya Desai
Hi Erick Thanks for your email. Here is the attached sample JSON file. When I indexed the same JSON file with SOLR 5.5 using bin/post it indexed successfully. Also all of my documents were indexed successfully with 5.5 and not with 4.10. Regards On Wed, Mar 30, 2016 at 3:13 PM, Erick Erickson w

Re: Regarding JSON indexing in SOLR 4.10

2016-03-30 Thread Erick Erickson
The document you're sending to Solr doesn't have an "id" field. The copyField directive has nothing to do with it. And you copyField would be copying _from_ the id field _to_ the Keyword field, is that what you intended? Even if the source and dest fields were reversed, it still wouldn't work sinc

Re: Regarding JSON indexing in SOLR 4.10

2016-03-30 Thread Aditya Desai
Hi Paul Thanks a lot for your help! I have one small question, I have schema that includes {Keyword,id,currency,geographic_name}. Now I have given id And Whenever I am running your script I am getting an error as 4002Document is missing mandatory uniqueKey field: id400 Can you please share yo

Re: Regarding JSON indexing in SOLR 4.10

2016-03-30 Thread Paul Hoffman
On Tue, Mar 29, 2016 at 11:30:06PM -0700, Aditya Desai wrote: > I am running SOLR 4.10 on port 8984 by changing the default port in > etc/jetty.xml. I am now trying to index all my JSON files to Solr running > on 8984. The following is the command > > curl 'http://localhost:8984/solr/update?commit