Interface QueryIndexer
-
- All Known Implementing Classes:
LuceneQuerySuggester
public interface QueryIndexer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstantgetLastIndexTime()CompletableFuture<Void>index(Iterable<SuggestRecord> suggestions)
-
-
-
Method Detail
-
getLastIndexTime
Instant getLastIndexTime()
- Returns:
- The time of the last successful indexing
-
index
CompletableFuture<Void> index(Iterable<SuggestRecord> suggestions) throws IOException
- Parameters:
suggestions- the suggestions to index- Returns:
- future that is ready as soon as the indexation is done
- Throws:
IOException- in case indexation fails
-
-