Package com.redis.om.spring.annotations
Annotation Interface Document
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanString[]doublelongTime before expire in seconds.
-
Element Details
-
value
@AliasFor(annotation=org.springframework.data.keyvalue.annotation.KeySpace.class, attribute="value") String value- Default:
""
-
indexName
String indexName- Default:
""
-
async
boolean async- Default:
false
-
prefixes
String[] prefixes- Default:
{}
-
filter
String filter- Default:
""
-
languageField
String languageField- Default:
""
-
language
SearchLanguage language- Default:
ENGLISH
-
score
double score- Default:
1.0
-
timeToLive
long timeToLiveTime before expire in seconds.- Returns:
- positive number when expiration should be applied.
- Default:
-1L
-