Interface SearchIndexOperationsProvider

All Known Implementing Classes:
MongoTemplate

public interface SearchIndexOperationsProvider
Provider interface to obtain SearchIndexOperations by MongoDB collection name or entity type.
Since:
4.5
Author:
Christoph Strobl, Mark Paluch
  • Method Details

    • searchIndexOps

      SearchIndexOperations searchIndexOps(String collectionName)
      Returns the operations that can be performed on search indexes.
      Parameters:
      collectionName - name of the MongoDB collection, must not be null.
      Returns:
      index operations on the named collection
    • searchIndexOps

      SearchIndexOperations searchIndexOps(Class<?> type)
      Returns the operations that can be performed on search indexes.
      Parameters:
      type - the type used for field mapping.
      Returns:
      index operations on the named collection
    • searchIndexOps

      SearchIndexOperations searchIndexOps(Class<?> type, String collectionName)
      Returns the operations that can be performed on search indexes.
      Parameters:
      collectionName - name of the MongoDB collection, must not be null.
      type - the type used for field mapping. Can be null.
      Returns:
      index operations on the named collection