Service Info: indexer


Service Description

This service provides operations that allow you to interact with the Index feature of Hornbill ESP: it is possible to manage an index and search it.

Available Operations

The following operations are available for the indexer service. You can click on each operation to see detailed information about that operation.

Operation Description
docAdd This method adds a new document to an index. The document will be given a unique identifier which is returned by this method.
docAddUsingID This method is used to add a new document to an index with a given document identifier (useful when for instance the index has been removed but the old document IDs are still stored in the database).
docDelete This method deletes one or more documents from the specified index
docDoesExist This method checks if a given identifier belongs to a document in an index.
docList This method is used to list all documents within an index.
docUpdate This method is used to update the content of a document in an index. The whole content of the document has to be sent when updating it.
getIndexStoragesList This method returns the list of existing index storages.
indexCommitChanges This method commits changes done on an index (Add/Delete/Update) to the index files and reloads the index searcher so that new changes can be found by the Search.
indexCreate This method creates a new index.
indexDelete This method deletes an existing index.
indexOptimize This method launches the optimization of an index for faster searches. It essentially merges together index files.
This operation is somewhat slow as it does several accesses to the filesystem and it is better to use it after a batch of calls (e.g: docAdd) rather than after each call.
Note: This operation is already automatically called after a given number of changes done to the index.
This method will return straight away, before the operation is complete. Please use isOptimizing to poll the state of the optimization process.
indexSearch This method searches an index for documents matching the query string.
indexSynchronize This method helps synchronize an index with desired content.
isOptimizing This method tells if the server is currently optimizing an index. This function can be called to poll the status of indexOptimize to check when optimization has finished.
parseFile This method parses a file and extracts its content as plain text and its metadata.
reindex This method reindexes the database documents of the specified storage.

Powered by Hornbill, for more information click here. (page served by Esp.hornbill.IndexerService, 8.0.0.2824.)