Interface MeilisearchIndexOperations


public interface MeilisearchIndexOperations
Operations for APIs scoped to a single Meilisearch index.
Author:
Junghoon Ban
See Also:
  • Index
  • Method Details

    • create

      Create the bound index without declaring a primary key.
      Returns:
      the created index
    • create

      Create the bound index using the given request.
      Parameters:
      request - index creation options
      Returns:
      the created index
    • get

      Return the bound index metadata.
      Returns:
      index metadata
    • list

      Return a page of indexes using Meilisearch defaults.
      Returns:
      indexes page
    • list

      Return a page of indexes using the given query.
      Parameters:
      query - index listing options
      Returns:
      indexes page
    • update

      Update the bound index using the given request.
      Parameters:
      request - index update options
      Returns:
      the updated index
    • delete

      boolean delete()
      Delete the bound index.
      Returns:
      true if the delete task succeeded
    • stats

      Return statistics for the bound index.
      Returns:
      index statistics
    • getSettings

      Return runtime settings for the bound index.
      Returns:
      index settings
    • updateSettings

      Update runtime settings for the bound index.
      Parameters:
      settings - index settings to update
      Returns:
      index settings after the update task succeeds
    • resetSettings

      MeilisearchIndexSettings resetSettings()
      Reset all runtime settings for the bound index to Meilisearch defaults.
      Returns:
      index settings after the reset task succeeds