Do your POJOs follow a simple flat data model that is 100% compatible with Solr?

If so, maybe you can simply ingest them by setting the Content-type to "application/json" and maybe having to put some minimal wrapper around the raw JSON.

But... if they DON'T follow a simple, flat data model, then YOU are going to have to transform their data into a format that does have a simple, flat data model.

-- Jack Krupansky

-----Original Message----- From: Luis Cappa Banda
Sent: Monday, May 13, 2013 10:52 AM
To: solr-user@lucene.apache.org
Subject: Quick question about indexing with SolrJ.

Is it possible to index plain String JSON documents using SolrJ? I already
know annotating POJOs works fine, but I need a more flexible way to index
data without any intermediate POJO.

That's because when changing, adding or removing new fields I don't want to
change continously that POJO again and again.


--
- Luis Cappa

Reply via email to