Package com.atlassian.jira.index
package com.atlassian.jira.index
-
ClassDescriptionUsed to build a
Index.Resultimplementation that accumulates results from other operations and awaits on them all.Platform-specific interface intended for the Lucene search platform only.The default configuration for a particular index and how it should be written.Uses aDefaultIndex.Engineto perform actual writes to an index.Indicate that an operation failed.Indicate that an operation completed successfully.Thread-safe container that manages our currentIndexSearcherandWriter.How to perform an actual write to the writer.Thread-safe holder of the current WriterEntityDocumentFactory<T extends WithId>Converts provided entity to Lucene documents for indexing.EntityDocumentFactory.EntityDocumentBuilder<T extends WithId,C extends EntityDocumentFactory.EntityDocumentBuilder<T, C>> Result implementation that wraps aFuture.Simple context for searcher extractorsAnIndexis where data is stored for fast retrieval.Management of anIndexAn 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 creatingIndexandIndex.Managerinstances.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.This exists soManagedIndexSearchercan be defined in lucene-dmz withoutUnmanagedIndexSearcherand companyWraps anotherIndexingStrategywith anExecutor.ObsoleteIndexCleaner deletes Lucene indexes that are no longer used - indexes which was used in Jira invalid input: '<' 8 and indexesV1 which was used in Jira 8.Platform-specific class intended for the Lucene search platform only.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 indexingUnmanaged Lucene index searcher wrapper used internally by Jira.