| Package | Description |
|---|---|
| io.lettuce.core.search.arguments |
| Modifier and Type | Method and Description |
|---|---|
static DocumentLanguage |
DocumentLanguage.getLanguage(Locale locale)
Retrieve the
DocumentLanguage for a given Locale. |
static DocumentLanguage |
DocumentLanguage.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentLanguage[] |
DocumentLanguage.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<DocumentLanguage> |
CreateArgs.getDefaultLanguage()
Get the default language for the documents in the index.
|
| Modifier and Type | Method and Description |
|---|---|
CreateArgs.Builder<K,V> |
CreateArgs.Builder.defaultLanguage(DocumentLanguage language)
Set the default language for the documents in the index.
|
SearchArgs.Builder<K,V> |
SearchArgs.Builder.language(DocumentLanguage language)
Specify the language of the query.
|
Copyright © 2025 lettuce.io. All rights reserved.