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
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
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
Thanks Alex,
I have “id” as the unique key and so, when the parent and child are getting
indexed, shouldn’t the child get an id automatically just like the parent? Is
there a configuration setup that would allow for that.
Currently when I am adding the child document, i also have to set the “i
The default document list returns in the flat form. Try looking up a child
document by ID.
If that works, look for the child document transformer.
Regards,
Alex
On 29 Sep 2016 12:46 AM, "Peri Subrahmanya"
wrote:
Sorry Erick,
There wasn’t much to provide but here is the code snippet:
SolrI
Sorry Erick,
There wasn’t much to provide but here is the code snippet:
SolrInputDocument sid = new SolrInputDocument();
sid.addField(“someField”, “someValue”);
SolrInputDocument childSid = new SolrInputDocument();
childSid.add(“someField”, “someValue”);
sid.addChildDocument(childSid);
sendToS
There is close to zero information here to help diagnose your issue.
You might review:
http://wiki.apache.org/solr/UsingMailingLists
Best,
Erick
On Wed, Sep 28, 2016 at 10:32 AM, Peri Subrahmanya
wrote:
> Hi All,
>
> I have a simple case of indexing a SolrInputDocument with few
> ChildSolrInpu