> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get dictionary settings

> Retrieve the dictionary override settings for plurals, stop words, and compound words.

export const Legacy = ({title, href}) => {
  return <Note>

    This page documents an earlier version of the API client.
    For the latest version, see <a href={href}>{title}</a>.

    </Note>;
};

<Legacy title="Retrieve dictionary settings" href="/doc/libraries/sdk/methods/search/get-dictionary-settings" />

**Required ACL:** `settings`

You can find the list of 'languages\` settings in the [settings parameters](/doc/api-reference/settings-api-parameters) page.

## Examples

### Get stopword settings

<CodeGroup>
  ```cs C# theme={"system"}
  // Synchronous
  dictionaryClient.GetDictionarySettings();

  // Asynchronous
  var getDictionarySettingsResponse = dictionaryClient.GetDictionarySettingsAsync();
  getDictionarySettingsResponse.Wait();
  ```

  ```go Go theme={"system"}
  res, err := client.GetDictionarySettings()
  ```

  ```java Java theme={"system"}
  // Synchronous
  client.getDictionarySettings();
  // Asynchronous
  client.getDictionarySettingsAsync();
  ```

  ```js JavaScript theme={"system"}
  client.getDictionarySettings();
  ```

  ```kotlin Kotlin theme={"system"}
  val settings = client.getDictionarySettings()
  ```

  ```php PHP theme={"system"}
  $client->getDictionarySettings();
  ```

  ```python Python theme={"system"}
  client.get_dictionary_settings()
  ```

  ```ruby Ruby theme={"system"}
  client.get_dictionary_settings
  ```

  ```scala Scala theme={"system"}
  client.execute {
    get dictionarySettings
  }
  ```

  ```swift Swift theme={"system"}
  client.getDictionarySettings { result in
    if case .success(let settings) = result {
      print("Dictionary settings: \(settings)")
    }
  }
  ```
</CodeGroup>

## Parameters

<ParamField body="requestOptions" type="object">
  A mapping of request options to send along with the request.
</ParamField>

## Response

<ResponseField name="settings" type="object">
  Map of language ISO code supported by the dictionary (for example, "de" for German) to a boolean value.

  When set to `true`, the standard entries for the language are disabled.

  Fetch settings doesn't return false values.

  **Example:**

  ```jsonc JSON icon=braces theme={"system"}
  "disableStandardEntries": {
    "stopwords": {
      "ru": "true",
      "en": "true",
      // ...
    }
  }
  ```
</ResponseField>

### Response as JSON

This section shows the JSON response returned by the API.
Each API client wraps this response in language-specific objects, so the structure may vary.
To view the response, use the `getLogs` method.
Don't rely on the order of properties—JSON objects don't preserve key order.

```jsonc JSON icon=braces theme={"system"}
{
  "disableStandardEntries": {
    "stopwords": {
      "ru": "true"
    }
  }
}
```
