|Description:||deletes a lucene index or item from index|
TextIndexDelete is an accessor using Active URI syntax with the following base identifiers:
and the following arguments: (for more details on argument passing details see here)
|Representation (java.lang.Object)||specification of items to delete|
|Identifier||filesystem location of index|
The following verb is supported:
The response representation of this accessor for SOURCE requests is unknown.
This accessor throws no documented exceptions.
To use TextIndexDelete accessor you must import the module urn:org:netkernel:text:search:core:
The TextIndexDelete accessor will either delete specified items from a text index or delete the complete index. This depends upon the if an operand argument is supplied to qualify the delete.
If no operand argument is supplied to the accessor then the complete index specified either by the directory argument or the argument tag in the supplied config argument is permanently deleted.
If an operand argument is supplied it is sourced as an XML document which serves as definition of what is to be deleted. All
The endpoint returns back an XML document summarizing time taken in seconds and the change in the number of items:
An optional URI to the directory containing the Lucene index. If not specified the index directory will be taken from the configuration
An optional reference to the configuration to use. If not specified then the tools look for a local configuration resource located at res:/etc/SearchConfig.xml. If this is not found a default configuration is used.