Indexing existing data by using ODWEK
The Content Manager OnDemand Web Enablement Kit (ODWEK) Java API contains two methods that support FTS.
The first method is called ODFolder.FTIAddHits(). This method has a single
parameter, which is a Vector of ODHit objects. The
Vector of ODHit objects can be produced by using the
search() methods of the ODFolder object. All ODHit objects that
are contained in the Vector parameter that is passed to
FTIAddHits() are sent to the FTS Exporter for full text indexing.
The second method of the ODFolder object is called
FTIReleaseHits(). This method also takes a Vector of
ODHit objects as a parameter. This method is used to remove the indexes from the
FTS Server.
Both of these calls produce work items in the ARSFTIWORK table.