Annotation Interface Lexical
Annotation to mark a field for lexical search in a collection document.
This annotation indicates that the field should be serialized with the special property name "$lexical" for use with DataStax Astra DB's lexical search features. The field must be of type String.
Example usage:
@DataApiCollection
public class MyDocument {
@DocumentId
private String id;
@Lexical
private String searchableText;
// getters and setters
}