T
- Value type, same as in ValueEngineer
public interface MatchSupporting<T>
ValueEngineer
s supporting indexing and searching.
Implementors must transform a value to text for indexing
and
deliver a list of matches for a search
request
.
Modifier and Type | Field and Description |
---|---|
static ValueEngineerAspectType<MatchSupporting<?>> |
TYPE
Aspect for
ValueEngineer s supporting indexing and searching. |
Modifier and Type | Method and Description |
---|---|
List<? extends Match> |
getMatches(Request request,
T value)
Calculate a list of matches for a given request-value pair.
|
String |
getStringForIndex(T value)
Deprecated.
since 4.2.427 - use the
value indexing infrastructure instead. |
static final ValueEngineerAspectType<MatchSupporting<?>> TYPE
ValueEngineer
s supporting indexing and searching.@NotNull @Deprecated String getStringForIndex(@NotNull T value)
value indexing infrastructure
instead.value
- The value to transform.@NotNull List<? extends Match> getMatches(@NotNull Request request, @NotNull T value)
request
- The search request.value
- The value to search in.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500