IndexManager.reIndex(), class will be made unavailable from public API in next 8.x release@Deprecated public interface ReIndexer
Warning: Client code should use IndexManager.reIndex() instead of this class, because it will
ensure proper locking is in place. Calling ReIndexer directly can result to races with other
index operations.
| Modifier and Type | Method and Description |
|---|---|
void |
reIndex(EnumSet<ReIndexOption> options,
Progress progress)
Deprecated.
Triggers a system wide re-index all entities from the database.
|
void |
reIndex(EnumSet<ReIndexOption> options,
@NonNull SearchQuery searchQuery,
Progress progress)
Deprecated.
Triggers a system wide re-index re-index all entities loaded from searchQuery.
|
default void |
reIndex(Progress progress)
Deprecated.
Triggers a system wide re-index.
|
void |
reIndex(ReIndexSpec spec,
Progress progress)
Deprecated.
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–2023 Atlassian. All rights reserved.