Delete by id | DataStax Enterprise 4.0 Documentation
Delete by id deletes the document with a specified id and is more efficient than delete by query. The id is the value of the uniqueKey field declared in the schema. The id can be a synthetic id that represents a Cassandra compound primary key, such as the one used in the Solr tutorial. To delete by id, the following example builds on the example in running a simple search. After clicking Execute Query, a list of results appears. Each result includes a _uniqueKey in JSON format. The uniqueKey is the first line of each result and looks like this:Read full article from Delete by id | DataStax Enterprise 4.0 Documentation
No comments:
Post a Comment