Re: Solrj Default Data Format

2014-05-15 Thread Furkan KAMACI
Hi; I found the reason of weird format at my previous mail. Now I capture the data with wireshark and I see that it is pure XML and content type is set to application/xml? Any ideas about why it is not javabin? Thanks; Furkan KAMACI 2014-05-07 22:16 GMT+03:00 Furkan KAMACI : > Hmmm, I see tha

Solrj Default Data Format

2014-05-15 Thread Furkan KAMACI
Hi; I am testing Solrj. I use Solr 4.5.1 and HttpSolrServer for my test. I just generate some SolrInputDocuments and call add method of server to add them. When I track the request I see that data is at XML format instead of javabin. Do I miss anything? Thanks; Furkan KAMACI

Re: Solrj Default Data Format

2014-05-15 Thread Furkan KAMACI
Hi; I have resolved my problem. I think that there is another problem with Solrj. I will send it another thread. Thanks; Furkan KAMACI 2014-05-08 17:17 GMT+03:00 Furkan KAMACI : > Hi; > > I found the reason of weird format at my previous mail. Now I capture the > data with wireshark and I see

Re: Solrj Default Data Format

2014-05-15 Thread Furkan KAMACI
Hmmm, I see that it is like XML format but not. I have added three documents but has something like that: id1 id2 id3 id4 d1 d2 d3 d4 is this javabin format? I mean optimizing XML and having a first byte of "2"? Thanks; Furkan KAMACI 2014-05-07 22:04 GMT+

Re: Solrj Default Data Format

2014-05-13 Thread Michael Della Bitta
Hi Furkan, If I were to guess, the XML format is more cross-compatible with different versions of SolrJ. But it might not be intentional. In any case, feeding your SolrServer a BinaryResponseParser will switch it over to javabin. Michael Della Bitta Applications Developer o: +1 646 532 3062 a