public interface IndexedEntityField<T>
Modifier and Type | Method and Description |
---|---|
void |
addToDocument(org.apache.lucene.document.Document document,
T value) |
org.apache.lucene.search.Query |
createQuery(T value) |
org.apache.lucene.index.Term |
createTerm(org.apache.lucene.document.Document document) |
org.apache.lucene.index.Term |
createTerm(T value) |
String |
getFieldId() |
T |
getValue(org.apache.lucene.document.Document document) |
com.google.common.base.Function<org.apache.lucene.document.Document,T> |
getValueFunction() |
void |
removeFromDocument(org.apache.lucene.document.Document document) |
@NotNull String getFieldId()
@Nullable T getValue(@NotNull org.apache.lucene.document.Document document)
void addToDocument(@NotNull org.apache.lucene.document.Document document, @Nullable T value)
void removeFromDocument(@NotNull org.apache.lucene.document.Document document)
@NotNull org.apache.lucene.index.Term createTerm(@NotNull T value)
@NotNull org.apache.lucene.index.Term createTerm(@NotNull org.apache.lucene.document.Document document)
@NotNull org.apache.lucene.search.Query createQuery(@NotNull T value)
@NotNull com.google.common.base.Function<org.apache.lucene.document.Document,T> getValueFunction()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.