Package com.atlassian.jira.index
package com.atlassian.jira.index
-
ClassDescriptionUsed to build a
Index.Result
implementation that accumulates results from other operations and awaits on them all.Interface for extractors adding fields based on commentsInterface for extractors adding fields based on commentsThe configuration for a particular index and how it should be written.Uses aDefaultIndex.Engine
to perform actual writes to an index.Indicate that an operation failed.Indicate that an operation completed successfully.Thread-safe container that manages our currentIndexSearcher
andWriter
.How to perform an actual write to the writer.Thread-safe holder of the current WriterDefault implementation ofSearchExtractorRegistrationManager
EntityDocumentFactory<T extends WithId>Converts provided entity to lucene documents for indexingEntityDocumentFactory.EntityDocumentBuilder<T extends WithId,C extends EntityDocumentFactory.EntityDocumentBuilder<T, C>> Provides ability to add fields to Document during indexingSimple context for searcher extractorsAnIndex
is where data is stored for fast retrieval.Management of anIndex
An operation that is performed on an Index.The payload is unimportant.Superclass serving as API to interact with data on current status of node data replication in the clusterDocument that configures indexing of entityProperties it reads to description in format of:<key entity-key="com.atlassian.jira.thing"> <extract path="foo.bar" type="string"> <!-- "path" tells you what part of the json to extract. "type" could be "number", "string", "text", "date" and tells you how to analyse it --> </<extract> </key> <key prefix="com.atlassian.jira.rank"> <extract...><extract/> </key>
Factory forIndexDocumentConfiguration
.Static factory class for creatingIndex
andIndex.Manager
instances.Class used to fetch snapshot from shared on startup if available.Exception indicating some errors occurred during the indexing process.Implementations determine how we do multi-threading for reindex-all.Interface for extractors adding fields based on issuesManagedIndexSearcher is a searcher which lifecycle is handled by JIRA context.This exists soManagedIndexSearcher
can be defined in lucene-dmz withoutUnmanagedIndexSearcher
and companyWraps anotherIndexingStrategy
with anExecutor
.ObsoleteIndexCleaner deletes Lucene indexes that are no longer used - indexes which was used in Jira < 8 and indexesV1 which was used in Jira 8.Interface which, if properly injected, implementation is called immediately before and immediately after successful run of periodical operation of IndexWriters commit.Responsible for scheduling cyclical writer commit operation, storing uncommitted writers, and performing the actual commit calls.Can be used to set custom indexing priority.Indexing priorities used in Jira Core.RelatedEntityDocumentFactory<T extends WithId>Converts provided entity to lucene documents for indexingManages search extractors