org.weborganic.bastille.flint
Class ClearIndex
java.lang.Object
org.weborganic.bastille.flint.ClearIndex
- All Implemented Interfaces:
- ContentGenerator
public final class ClearIndex
- extends Object
- implements ContentGenerator
Clears the content of the index.
The index(es) must be located in the directory specified by the FlintConfig
.
Multiple indexes can be cleared at once if specified as a comma separated list.
Note: access to this is generator MUST be made secured in the Web descriptor.
- Since:
- 0.6.20
ClearIndex
public ClearIndex()
process
public void process(ContentRequest req,
XMLWriter xml)
throws BerliozException,
IOException
- Specified by:
process
in interface ContentGenerator
- Throws:
BerliozException
IOException