: I don't want to use POJOs, that's the main problem. I know that you can : send AJAX POST HTTP Requests with JSON data to index new documents and I : would like to do that with SolrJ, that's all, but I don't find the way to : do that, :-/ . What I would like to do is simple retrieve an String with an : embedded JSON and add() it via an HttpSolrServer object instance. If the
Use ContentStreamUpdateRequest -- provide your pre-generated JSON as the ContentStream (you can back it by a String using ContentStreamBase.StringStream or whatever you have to work with) then process it against your HttpSolrServer object. -Hoss