add documentation for Indexer()

This commit is contained in:
Uwe Steinmann 2020-09-12 12:53:27 +02:00
parent d33eb59b4a
commit acab20fe24

View File

@ -70,6 +70,14 @@ class SeedDMS_FulltextService {
return new $this->services[0]['IndexedDocument']($document->getDMS(), $document, $this->converters, $nocontent, $this->cmdtimeout);
}
/**
* Returns an instance of the indexer
*
* The indexer provides access to fulltext index. It allows to add and
* get documents.
*
* @return object instance of class specified in 'Indexer'
*/
public function Indexer($recreate=false) {
if($this->index)
return $this->index;