public interface InternalIndexingService
Modifier and Type | Method and Description |
---|---|
void |
conditionalUpdateWithVersion(org.apache.lucene.document.Document issueDocument,
Collection<org.apache.lucene.document.Document> commentDocuments,
Collection<org.apache.lucene.document.Document> changeHistoryDocuments,
Collection<org.apache.lucene.document.Document> worklogDocuments)
Index an issue document with its related documents conditionally based on the entity ids and the versions
which are resolved by
IndexDirectoryFactory.Name.getEntityIdFromDocument(Document) and
IndexDirectoryFactory.Name.getEntityVersionFromDocument(Document) |
void |
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
IndexDirectoryFactory.Name.getEntityIdFromDocument(Document) and
IndexDirectoryFactory.Name.getEntityVersionFromDocument(Document) |
void conditionalUpdateWithVersion(IndexDirectoryFactory.Name indexName, org.apache.lucene.document.Document document)
Document
conditionally based on the entity id and the version which are resolved by
IndexDirectoryFactory.Name.getEntityIdFromDocument(Document)
and
IndexDirectoryFactory.Name.getEntityVersionFromDocument(Document)
indexName
- define the target indexdocument
- the document needs to be indexedvoid conditionalUpdateWithVersion(org.apache.lucene.document.Document issueDocument, Collection<org.apache.lucene.document.Document> commentDocuments, Collection<org.apache.lucene.document.Document> changeHistoryDocuments, Collection<org.apache.lucene.document.Document> worklogDocuments)
IndexDirectoryFactory.Name.getEntityIdFromDocument(Document)
and
IndexDirectoryFactory.Name.getEntityVersionFromDocument(Document)
issueDocument
- issue document needs to be indexedcommentDocuments
- issue's comment documentschangeHistoryDocuments
- issue's history change documentsworklogDocuments
- issue's worklog documentsCopyright © 2002-2020 Atlassian. All Rights Reserved.