Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Commenting out all allowDups from commits

  • Loading branch information...
commit e8cd51a794e056e9b75d6b788df9486b3f2892be 1 parent ef16a4d
@ecaron authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 php_solr_client.c
View
8 php_solr_client.c
@@ -761,9 +761,11 @@ PHP_METHOD(SolrClient, addDocument)
}
doc_ptr = solr_xml_create_xml_doc((xmlChar *) "add", &root_node);
- allowDupsValue = (allowDups)? "true" : "false";
+ /* Skipped since deprecated long before Solr 4.0
+ allowDupsValue = (allowDups)? "true" : "false";
xmlNewProp(root_node, (xmlChar *) "allowDups", (xmlChar *) allowDupsValue);
+ */
if (commitWithin > 0L)
{
@@ -932,9 +934,11 @@ PHP_METHOD(SolrClient, addDocuments)
}
doc_ptr = solr_xml_create_xml_doc((xmlChar *) "add", &root_node);
+
+ /* Skipped since deprecated long before Solr 4.0
allowDupsValue = (allowDups) ? (xmlChar *) "true" : (xmlChar *) "false";
-
xmlNewProp(root_node, (xmlChar *) "allowDups", allowDupsValue);
+ */
if (commitWithin > 0L)
{
Please sign in to comment.
Something went wrong with that request. Please try again.