Class MeilisearchClient

java.lang.Object
com.meilisearch.sdk.Client
io.vanslog.spring.data.meilisearch.client.MeilisearchClient

public class MeilisearchClient extends com.meilisearch.sdk.Client
Extension of Client that allows to configure the additional attributes that are required for request timeout and retry handling. And also provides JsonHandler to convert the request and response body.
Author:
Junghoon Ban
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    MeilisearchClient(ClientConfiguration clientConfiguration, com.meilisearch.sdk.json.JsonHandler jsonHandler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.meilisearch.sdk.json.JsonHandler
     
    int
     
    int
     

    Methods inherited from class com.meilisearch.sdk.Client

    cancelTasks, createDump, createIndex, createIndex, createKey, createSnapshot, createWebhook, deleteIndex, deleteKey, deleteTasks, deleteWebhook, experimentalFeatures, export, generateTenantToken, generateTenantToken, getAllBatches, getBatch, getIndex, getIndexes, getIndexes, getKey, getKeys, getKeys, getRawIndexes, getRawIndexes, getStats, getTask, getTasks, getTasks, getVersion, getWebhook, getWebhooks, health, index, isHealthy, multiSearch, multiSearch, swapIndexes, updateIndex, updateIndex, updateKey, updateWebhook, waitForTask

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MeilisearchClient

      public MeilisearchClient(ClientConfiguration clientConfiguration)
    • MeilisearchClient

      public MeilisearchClient(ClientConfiguration clientConfiguration, com.meilisearch.sdk.json.JsonHandler jsonHandler)
  • Method Details

    • getJsonHandler

      public com.meilisearch.sdk.json.JsonHandler getJsonHandler()
    • getRequestTimeout

      public int getRequestTimeout()
    • getRequestInterval

      public int getRequestInterval()