public interface ReIndexer
Modifier and Type | Method and Description |
---|---|
void |
reIndex(EnumSet<ReIndexOption> options,
Progress progress)
Triggers a system wide re-index all entities from the database.
|
void |
reIndex(EnumSet<ReIndexOption> options,
@NonNull SearchQuery searchQuery,
Progress progress)
Triggers a system wide re-index re-index all entities loaded from searchQuery.
|
default void |
reIndex(Progress progress)
Triggers a system wide re-index.
|
void |
reIndex(ReIndexSpec spec,
Progress progress)
Trigger reindex large amount of content entities accoding to the given specification.
|
default void |
reIndex(Set<ReIndexOption> options,
Progress progress)
Deprecated.
since 5.10. Use
reIndex(EnumSet, Progress) instead. |
default void |
reIndex(Set<ReIndexOption> options,
SearchQuery searchQuery,
Progress progress)
Deprecated.
since 5.10. Use
reIndex(EnumSet, SearchQuery, Progress) instead. |
default void reIndex(Progress progress)
progress
- object to track progress of re-index.@Deprecated default void reIndex(Set<ReIndexOption> options, Progress progress)
reIndex(EnumSet, Progress)
instead.@Deprecated default void reIndex(Set<ReIndexOption> options, SearchQuery searchQuery, Progress progress)
reIndex(EnumSet, SearchQuery, Progress)
instead.void reIndex(EnumSet<ReIndexOption> options, Progress progress)
options
- Optional. Allows a subset of all searchable content to be re-indexed.progress
- object to track progress of re-index.void reIndex(EnumSet<ReIndexOption> options, @NonNull SearchQuery searchQuery, Progress progress)
options
- Optional. Allows a subset of all searchable content to be re-indexed.searchQuery
- A query that may be used to load the entities to be re-indexed.progress
- object to track progress of re-index.@ExperimentalApi void reIndex(ReIndexSpec spec, Progress progress)
spec
- progress
- Copyright © 2003–2020 Atlassian. All rights reserved.