I've implemented a SearchRequest class at my application. It has some custom fields and filled via web services automatically from a JSON object (via jackson). Inside a core class I retrieve proper attributes from that class and send a query to Solr server.
If you have an API class to reach your Solr indexes you can go with that way I described above. Otherwise you can try Jacks's answer. You should look at here too: http://lucene.apache.org/solr/4_0_0/solr-solrj/org/apache/solr/client/solrj/request/QueryRequest.html 2013/10/4 Alok Bhandari <alokomprakashbhand...@gmail.com> > Hello , > > I am using solr 4.0 , I want to sent a list of objects to solr as a request > parameter. Is it possible ? Please let me know. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Can-I-pass-some-Object-as-request-parameter-to-solr-server-tp4093463.html > Sent from the Solr - User mailing list archive at Nabble.com. >