Re: SolrInputDocument setField method

2019-06-26 Thread Mark Sholund
I noticed this yesterday as well. The toString() and jsonStr() (in later versions) of SolrJ both include things like toString(): {id=id=[foo123](https://www.nga.mil/careers/studentopp/Pages/default.aspx), ...} or jsonStr(): {"id":"id=[foo123](https://www.nga.mil/careers/studentopp/Pages/default

Re: SolrInputDocument setField method

2019-06-26 Thread Shawn Heisey
On 6/26/2019 9:52 AM, Vincenzo D'Amore wrote: I have a very basic question related to the SolrInputDocument behaviour. Looking at SolrInputDocument source code I found how the method setField works: public void setField(String name, Object value ) { SolrInputField field = new SolrInp

Re: SolrInputDocument setField method

2019-06-26 Thread Samuel Kasimalla
Hi Vicenzo, May be looking at the overridden toString() would give you a clue. The second part, I don't think SolrJ holds it it twice(if you are worried about redundant usage of memory), BUT if you haven't used SolrJ so far and wanted to know if this is the format in which it pushes to Solr, I'm