Modifier and Type | Method and Description |
---|---|
IndexDirectoryFactory.Name |
DBRMessage.getIndex() |
Modifier and Type | Method and Description |
---|---|
static String |
JiraDocumentUtil.documentToShortString(IndexDirectoryFactory.Name index,
org.apache.lucene.document.Document document) |
void |
NoOpDBRSender.sendUpdate(IndexDirectoryFactory.Name index,
org.apache.lucene.document.Document document,
long documentCost) |
void |
AsyncDBRSender.sendUpdate(IndexDirectoryFactory.Name index,
org.apache.lucene.document.Document document,
long cost) |
void |
DBRSender.sendUpdate(IndexDirectoryFactory.Name index,
org.apache.lucene.document.Document document,
long cost)
send a dbr update message to other nodes
|
void |
DefaultDBRSender.sendUpdate(IndexDirectoryFactory.Name index,
org.apache.lucene.document.Document document,
long cost) |
Modifier and Type | Method and Description |
---|---|
protected abstract IndexDirectoryFactory.Name |
EntityDocumentFactory.EntityDocumentBuilder.getIndexName() |
Modifier and Type | Method and Description |
---|---|
static WithIdAndVersion |
WithIdAndVersion.fromDocument(IndexDirectoryFactory.Name indexName,
org.apache.lucene.document.Document document) |
static Collection<WithIdAndVersion> |
WithIdAndVersion.fromDocuments(IndexDirectoryFactory.Name indexName,
Collection<org.apache.lucene.document.Document> documents)
|
Modifier and Type | Method and Description |
---|---|
static IndexDirectoryFactory.Name |
IndexDirectoryFactory.Name.from(AffectedIndex affectedIndex) |
static IndexDirectoryFactory.Name |
IndexDirectoryFactory.Name.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexDirectoryFactory.Name[] |
IndexDirectoryFactory.Name.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Optional<IndexDirectoryFactory.Name> |
IndexDirectoryFactory.Name.fromSafe(AffectedIndex affectedIndex) |
Map<IndexDirectoryFactory.Name,Index.Manager> |
MockIndexDirectoryFactory.get() |
Map<IndexDirectoryFactory.Name,Index.Manager> |
IndexDirectoryFactory.IndexPathAdapter.get() |
Modifier and Type | Method and Description |
---|---|
Index.Result |
DefaultIssueIndexer.conditionalUpdateWithVersion(IndexDirectoryFactory.Name indexName,
org.apache.lucene.document.Document document) |
void |
DefaultIndexManager.conditionalUpdateWithVersion(IndexDirectoryFactory.Name indexName,
org.apache.lucene.document.Document document) |
void |
InternalIndexingService.conditionalUpdateWithVersion(IndexDirectoryFactory.Name indexName,
org.apache.lucene.document.Document document)
Index a
Document conditionally based on the entity id and the version which are resolved by
getEntityIdFromDocument(Document) and
getEntityVersionFromDocument(Document) |
Index.Result |
IssueIndexer.conditionalUpdateWithVersion(IndexDirectoryFactory.Name indexName,
org.apache.lucene.document.Document document)
Index a
Document conditionally based on the entity id and the version which are resolved by
getEntityIdFromDocument(Document) and
getEntityVersionFromDocument(Document) |
Index.Manager |
LuceneIssueIndexProvider.get(IndexDirectoryFactory.Name key) |
ManagedIndexSearcher |
DefaultIndexManager.getEntitySearcher(IndexDirectoryFactory.Name index) |
ManagedIndexSearcher |
InternalIndexingService.getEntitySearcher(IndexDirectoryFactory.Name index)
Get an
IndexSearcher that can be used to search the index specified
by the IndexDirectoryFactory.Name . |
Index |
LuceneIssueIndexProvider.getIndex(IndexDirectoryFactory.Name indexName) |
ManagedIndexSearcher |
SearcherCache.getSearcher(IndexDirectoryFactory.Name index) |
ManagedIndexSearcher |
ThreadLocalSearcherCache.getSearcher(IndexDirectoryFactory.Name index) |
UnmanagedIndexSearcher |
DefaultIssueIndexer.openEntitySearcher(IndexDirectoryFactory.Name index) |
UnmanagedIndexSearcher |
UnmanagedIndexSearcherProvider.openEntitySearcher(IndexDirectoryFactory.Name index)
Issue searcher has to be closed after doing stuff.
|
Constructor and Description |
---|
MockIndexDirectoryFactory(Function<IndexDirectoryFactory.Name,org.apache.lucene.store.Directory> directorySupplier,
ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
Index.Result |
MockIssueIndexer.conditionalUpdateWithVersion(IndexDirectoryFactory.Name indexName,
org.apache.lucene.document.Document document) |
UnmanagedIndexSearcher |
MockIssueIndexer.openEntitySearcher(IndexDirectoryFactory.Name index) |
Modifier and Type | Method and Description |
---|---|
IndexDirectoryFactory.Name |
EntityVersion.getIndexName() |
Modifier and Type | Method and Description |
---|---|
List<EntityVersion> |
EntityVersioningManagerWithStats.findEntityVersionsUpdatedInTheLast(IndexDirectoryFactory.Name indexName,
java.time.Duration duration) |
List<EntityVersion> |
EntityVersioningManagerImpl.findEntityVersionsUpdatedInTheLast(IndexDirectoryFactory.Name indexName,
java.time.Duration duration) |
List<EntityVersion> |
EntityVersioningManager.findEntityVersionsUpdatedInTheLast(IndexDirectoryFactory.Name indexName,
java.time.Duration duration)
Looks up all the entities whose version changed during the last
duration amount of time. |
List<EntityVersion> |
NoOpEntityVersioningManager.findEntityVersionsUpdatedInTheLast(IndexDirectoryFactory.Name indexName,
java.time.Duration duration) |
Optional<EntityVersion> |
EntityVersioningManagerWithStats.getLatestEntityUpdate(IndexDirectoryFactory.Name indexName) |
Optional<EntityVersion> |
EntityVersioningManagerImpl.getLatestEntityUpdate(IndexDirectoryFactory.Name indexName) |
Optional<EntityVersion> |
EntityVersioningManager.getLatestEntityUpdate(IndexDirectoryFactory.Name indexName)
Looks up the Version & related info for the most recently modified entity version.
|
Optional<EntityVersion> |
NoOpEntityVersioningManager.getLatestEntityUpdate(IndexDirectoryFactory.Name indexName) |
Map<Long,Optional<Long>> |
EntityVersioningManagerWithStats.getLocalVersions(Set<Long> entityIds,
IndexDirectoryFactory.Name indexName) |
Map<Long,Optional<Long>> |
EntityVersioningManagerImpl.getLocalVersions(Set<Long> entityIds,
IndexDirectoryFactory.Name indexName) |
Map<Long,Optional<Long>> |
EntityVersioningManager.getLocalVersions(Set<Long> entityIds,
IndexDirectoryFactory.Name indexName)
Returns the corresponding entity version from the specified local lucene index for each of the ids passed in with
entityIds in
the form of a map of ids to versions. |
Map<Long,Optional<Long>> |
NoOpEntityVersioningManager.getLocalVersions(Set<Long> entityIds,
IndexDirectoryFactory.Name indexName) |
Constructor and Description |
---|
EntityVersion(long id,
long version,
java.time.Instant dbUpdatedTime,
boolean deleted,
IndexDirectoryFactory.Name indexName) |
Copyright © 2002-2021 Atlassian. All Rights Reserved.