e doc');
: $updateResponse = $client->addDocument($doc);
:
: When I do this, the doc is not added to the index, and I get the following
: error in the logs in admin
:
: Unknown attribute id in add:allowDups
"id" is a red herring here -- it's not refering to your "id&quo
he doc');
> $updateResponse = $client->addDocument($doc);
>
> When I do this, the doc is not added to the index, and I get the following
> error in the logs in admin
>
> Unknown attribute id in add:allowDups
>
> However, I noticed that if I change the field to typ
tions);
$doc = new SolrInputDocument();
$doc->addField('id', 12345);
$doc->addField('description', 'This is the content of the doc');
$updateResponse = $client->addDocument($doc);
When I do this, the doc is not added to the index, and I get the
following