Kajona\Search\System\SearchIndexwriter

General object to build / rebuild / update the search-index.

Registers for record-updated events in order to update the index of an object.

Synopsis

class SearchIndexwriter {
  • // constants
  • const STR_ANNOTATION_ADDSEARCHINDEX = "@addSearchIndex";
}

Constants

Name Value
STR_ANNOTATION_ADDSEARCHINDEX "@addSearchIndex"

Members

private

  • $bitSkipDeletesKajona\Search\System\bool
    Internal flag to avoid explicit delete statements on a full index rebuild. since the index is flushed before, the delete statements are useless and only time-consuming.
  • $isIndexAvailable
  • $objConfig
  • $objDB

Methods

private

public