Re: svn commit: r678624 - /lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/embedded/EmbeddedSolrServer.java

2008-07-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
The BinaryResponseWriter has a nice abstraction of converting DocList to SolrDocumentList . The code is minimal Probably you can copy the methods or refactor the class to be reused elsewhere On Tue, Jul 22, 2008 at 10:02 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > Ideally we don't need to. > >

Re: svn commit: r678624 - /lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/embedded/EmbeddedSolrServer.java

2008-07-21 Thread Craig McClanahan
Noble Paul ??? ?? wrote: why do we need a serialize/deserialize for EmbeddedSolrServer? Why can't we just return the Namedlist directly? +1 I have use cases that I *know* are not going to be returned via HTTP (operations invoked from an EJB message driven bean), so requiring any s

Re: svn commit: r678624 - /lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/embedded/EmbeddedSolrServer.java

2008-07-21 Thread Ryan McKinley
Ideally we don't need to. However, we do need to convert things like DocList to SolrDocumentList, also the Map/List representation should match what happens *if* it did go via HTTP. That is, if a handler adds a LinkedHashSet to the response, the client does not know that -- it just behav

Re: svn commit: r678624 - /lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/embedded/EmbeddedSolrServer.java

2008-07-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
why do we need a serialize/deserialize for EmbeddedSolrServer? Why can't we just return the Namedlist directly? On Tue, Jul 22, 2008 at 8:47 AM, <[EMAIL PROTECTED]> wrote: > Author: ryan > Date: Mon Jul 21 20:17:13 2008 > New Revision: 678624 > > URL: http://svn.apache.org/viewvc?rev=678624&view=