public interface QueryTagSuggester
QueryTag
s for a given search term.Modifier and Type | Method and Description |
---|---|
void |
computeQueryTags(String type,
Class<? extends sirius.db.mixing.BaseEntity<?>> entityType,
String searchTerm,
Consumer<sirius.db.mixing.query.QueryTag> consumer)
Computes suggestions for the given parameters.
|
void computeQueryTags(@Nonnull String type, @Nullable Class<? extends sirius.db.mixing.BaseEntity<?>> entityType, @Nonnull String searchTerm, @Nonnull Consumer<sirius.db.mixing.query.QueryTag> consumer)
type
- the type of entities being filtered.entityType
- the type resolved as Class
if possiblesearchTerm
- the query or prefix supplied by the userconsumer
- the consumer to send suggestions toCopyright © 2018. All rights reserved.