[
https://issues.apache.org/jira/browse/SOLR-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505363
]
Jeff Rodenburg commented on SOLR-205:
-------------------------------------
The Example application includes some code for delete by query, but it is
commented out. The particular code looks like:
//List<QueryParameter> listQP = new List<QueryParameter>();
//listQP.Add(new QueryParameter("id", "101"));
//QueryParameterCollection queryParameterCollection = new
QueryParameterCollection("delete", listQP);
//Query query = new Query();
//query.AddQueryParameters(queryParameterCollection,
ParameterJoin.AND);
//DeleteIndexDocument deleteIndexDocument = new
DeleteIndexDocument(query);
DeleteIndexDocument deleteIndexDocument = new
DeleteIndexDocument("101");
oUpdate.PostToIndex(deleteIndexDocument, true);
Uncomment those and comment out the single DeleteIndexDocument("101") line to
execute a delete-by-query.
> SolrSharp - a C# client API for Solr
> ------------------------------------
>
> Key: SOLR-205
> URL: https://issues.apache.org/jira/browse/SOLR-205
> Project: Solr
> Issue Type: New Feature
> Environment: Microsoft Windows, .Net Framework 2.0
> Reporter: Jeff Rodenburg
> Priority: Minor
>
> SolrSharp is a client API written in C# using the .Net framework to interact
> with Apache Solr.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.