Hello, i am new in SolR and i didn't figured out if in SolR the encapsulation of response can be in such a way to allow directly mapping the response into an object like in ORM using JPA.
what i have in SolR: - i have some fields that are unique and others that are not like this: lastName, firstName, productsId (multivalued setted in Solr), productsName (also multivalued) the actual response of Solr is like (lets consider JSON resonse): {"lastName": "John", "firstName": "Doe", "productsId ": [{"1","2","3"}], "productsName": [{"prod1","prod2","prod3"}]} what i want is that the response to have subobjects - the productId and the productName obviously are an object and should be encapsulated like an object: and the response should look like: {"lastName": "John", "firstName": "Doe", "products": [{"productId":"1","productName":"prod1"},{"productId":"2","productName":"prod2"}]} Is there possible to response to be such that? Thank you, Danut -- View this message in context: http://lucene.472066.n3.nabble.com/SolR-response-encapsulation-tp4196178.html Sent from the Solr - User mailing list archive at Nabble.com.