Class IndexFixHelper.IndexFixResult

java.lang.Object
ch.tocco.nice2.enterprisesearch.impl.indexfix.IndexFixHelper.IndexFixResult
Enclosing class:
IndexFixHelper

public static class IndexFixHelper.IndexFixResult extends Object
  • Constructor Details

    • IndexFixResult

      public IndexFixResult(EntityModel entityModel)
  • Method Details

    • addExistingFulltextEntry

      public void addExistingFulltextEntry(String key, long version)
    • getEntityModel

      public EntityModel getEntityModel()
    • removeExistingDocument

      public Optional<Long> removeExistingDocument(String key)
      Removes from the existing documents map and returns the version, if it existed.
      Parameters:
      key - The key of the document/entity to remove from the map.
      Returns:
      the version of the document in the index, if it existed.
    • addToKeysToAdd

      public void addToKeysToAdd(String key)
    • addToKeysToUpdate

      public void addToKeysToUpdate(String key)
    • getKeysToAdd

      public Set<PrimaryKey> getKeysToAdd()
    • getKeysToUpdate

      public Set<PrimaryKey> getKeysToUpdate()
    • getKeysToRemove

      public Set<PrimaryKey> getKeysToRemove()