Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:indexremove
Removes an entry from an existing search index.
Syntax
<ics:indexremove entryname="entry name" [searchengine="name"] [index="some index path name"]Parameters
entryname (required)
- Name of the index entry to remove.
searchengine (optional)
- Name of the search engine to use. If searchengine is not specified, Content Server uses the value of
cs.searchengine
from the Content Server properties file.
index (optional)
- Full path name of the index from which the
entryname
should be removed. If not specified, Content Server takes the value ofav.defaultindex
orverity.defaultindex
in the Content Server properties file.
errno
The possible values of
errno
include:
Value Description -801 Cannot load search engine. -804 Remove index failed. -805 No default index specified. -806 Unknown search engine. -811 Could not call native method. -812 Index does not exist.Example
The following example removes
Article083742132
from the indexc:/ArticleIdx
.<ics:clearerrno/> <ics:indexremove index="c:/ArticleIdx" searchengine="AV" entry="Article083742132"/> <ics:if condition='<%ics.GetErrno() != 0%>'> <ics:then> Report error </ics:then> </ics:if>See Also
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.