Thank you Alex and Anshum! I will look into both of these.
Jennifer
From: Anshum Gupta
To: solr-user@lucene.apache.org
Date: 08/16/2016 08:17 PM
Subject:Re: Creating a SolrJ Data Service to send JSON to Solr
I would also suggest sending the JSON directly to the JSON end
I would also suggest sending the JSON directly to the JSON end point, with
the mapping :
https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Index+Handlers#UploadingDatawithIndexHandlers-JSONUpdateConveniencePaths
On Tue, Aug 16, 2016 at 4:43 PM Alexandre Rafalovitch
wrote:
> Wh
Why do you need a POJO? For Solr purposes, you could just get the
field names from schema and use those to map directly from JSON to the
'addField' calls in SolrDocument.
Do you need it for non-Solr purposes? Then you can search for generic
Java dynamic POJO generation solution.
Also, you could l
Hello,
I am trying to write a data service using SolrJ that will allow me to
accept JSON through a REST API, create a Solr document ,and write it to
multiple different Solr cores (depending on the core name specified). The
problem I am running into is that each core is going to have a different
sc