Uses of Class
org.apache.maven.index.ArtifactInfo
Package
Description
-
Uses of ArtifactInfo in org.apache.maven.index
Modifier and TypeFieldDescriptionstatic final Comparator<ArtifactInfo>
ArtifactInfo.CONTEXT_VERSION_COMPARATOR
static final Comparator<ArtifactInfo>
ArtifactInfo.REPOSITORY_VERSION_COMPARATOR
static final Comparator<ArtifactInfo>
ArtifactInfo.VERSION_COMPARATOR
Modifier and TypeMethodDescriptionprotected ArtifactInfo
DefaultIteratorResultSet.createNextAi()
ArtifactContext.getArtifactInfo()
DefaultIteratorResultSet.next()
ArtifactInfo.setFieldValue
(Field field, String value) Modifier and TypeMethodDescriptionFlatSearchRequest.getArtifactInfoComparator()
ArtifactInfoGroup.getArtifactInfos()
FlatSearchResponse.getResults()
DefaultIndexer.identify
(File artifact, Collection<IndexingContext> contexts) DefaultIndexer.identify
(org.apache.lucene.search.Query query, Collection<IndexingContext> contexts) Deprecated.DefaultNexusIndexer.identify
(File artifact, Collection<IndexingContext> contexts) Deprecated.DefaultNexusIndexer.identify
(org.apache.lucene.search.Query query) Deprecated.DefaultNexusIndexer.identify
(org.apache.lucene.search.Query query, Collection<IndexingContext> contexts) Deprecated.Deprecated.Indexer.identify
(File artifact, Collection<IndexingContext> contexts) Performs an "identity" search.Indexer.identify
(org.apache.lucene.search.Query query, Collection<IndexingContext> contexts) Performs an "identity" search.Deprecated.NexusIndexer.identify
(File artifact, Collection<IndexingContext> contexts) Deprecated.NexusIndexer.identify
(org.apache.lucene.search.Query query) Deprecated.NexusIndexer.identify
(org.apache.lucene.search.Query query, Collection<IndexingContext> contexts) Deprecated.Deprecated.DefaultIteratorResultSet.iterator()
DefaultSearchEngine.searchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query) Deprecated.DefaultSearchEngine.searchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query) Deprecated.SearchEngine.searchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query) Deprecated.SearchEngine.searchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query) Deprecated.Modifier and TypeMethodDescriptionprotected abstract boolean
AbstractMultiArtifactInfoFilter.accepts
(List<ArtifactInfoFilter> filters, IndexingContext ctx, ArtifactInfo ai) It is left to final implementor to implement how we want to decide using filters.boolean
AbstractMultiArtifactInfoFilter.accepts
(IndexingContext ctx, ArtifactInfo ai) The filter's implementation is: if list of filters is empty, the just accept it, otherwise consult the list of filters.protected boolean
AndMultiArtifactInfoFilter.accepts
(List<ArtifactInfoFilter> filters, IndexingContext ctx, ArtifactInfo ai) boolean
ArtifactInfoFilter.accepts
(IndexingContext ctx, ArtifactInfo ai) boolean
UniqueArtifactFilterPostprocessor.accepts
(IndexingContext ctx, ArtifactInfo ai) boolean
UniqueGAArtifactFilterPostprocessor.accepts
(IndexingContext ctx, ArtifactInfo ai) Deprecated.boolean
ArtifactInfoGroup.addArtifactInfo
(ArtifactInfo artifactInfo) boolean
Grouping.addArtifactInfo
(Map<String, ArtifactInfoGroup> result, ArtifactInfo artifactInfo) Adds a single ArticatInfo to the result map.protected void
DefaultIteratorResultSet.calculateHighlights
(IndexingContext context, org.apache.lucene.document.Document d, ArtifactInfo ai) Creates the MatchHighlights and adds them to ArtifactInfo if found/can.void
ArtifactInfoPostprocessor.postprocess
(IndexingContext ctx, ArtifactInfo ai) void
UniqueArtifactFilterPostprocessor.postprocess
(IndexingContext ctx, ArtifactInfo ai) void
UniqueGAArtifactFilterPostprocessor.postprocess
(IndexingContext ctx, ArtifactInfo ai) Deprecated.Modifier and TypeMethodDescriptionDefaultSearchEngine.searchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query) Deprecated.DefaultSearchEngine.searchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query) Deprecated.protected int
DefaultSearchEngine.searchFlat
(FlatSearchRequest req, Collection<ArtifactInfo> result, List<IndexingContext> participatingContexts, org.apache.lucene.search.Query query) SearchEngine.searchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query) Deprecated.SearchEngine.searchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query) Deprecated.void
FlatSearchRequest.setArtifactInfoComparator
(Comparator<ArtifactInfo> artifactInfoComparator) ModifierConstructorDescriptionArtifactContext
(File pom, File artifact, File metadata, ArtifactInfo artifactInfo, Gav gav) ModifierConstructorDescriptionArtifactInfoGroup
(String groupKey, Comparator<ArtifactInfo> comparator) FlatSearchRequest
(org.apache.lucene.search.Query query, Comparator<ArtifactInfo> artifactInfoComparator) FlatSearchRequest
(org.apache.lucene.search.Query query, Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext context) FlatSearchResponse
(org.apache.lucene.search.Query query, int totalHits, Set<ArtifactInfo> results) -
Uses of ArtifactInfo in org.apache.maven.index.context
Modifier and TypeMethodDescriptionstatic ArtifactInfo
IndexUtils.constructArtifactInfo
(org.apache.lucene.document.Document doc, IndexingContext context) Modifier and TypeMethodDescriptionboolean
IndexCreator.updateArtifactInfo
(org.apache.lucene.document.Document document, ArtifactInfo artifactInfo) Update anArtifactInfo
from given LuceneDocument
.void
IndexCreator.updateDocument
(ArtifactInfo artifactInfo, org.apache.lucene.document.Document document) Update LuceneDocument
from a givenArtifactInfo
.static org.apache.lucene.document.Document
IndexUtils.updateDocument
(org.apache.lucene.document.Document doc, IndexingContext context, boolean updateLastModified, ArtifactInfo ai) -
Uses of ArtifactInfo in org.apache.maven.index.creator
Modifier and TypeMethodDescriptionboolean
JarFileContentsIndexCreator.updateArtifactInfo
(org.apache.lucene.document.Document doc, ArtifactInfo artifactInfo) boolean
MavenArchetypeArtifactInfoIndexCreator.updateArtifactInfo
(org.apache.lucene.document.Document doc, ArtifactInfo ai) boolean
MavenPluginArtifactInfoIndexCreator.updateArtifactInfo
(org.apache.lucene.document.Document doc, ArtifactInfo ai) boolean
MinimalArtifactInfoIndexCreator.updateArtifactInfo
(org.apache.lucene.document.Document doc, ArtifactInfo ai) boolean
OsgiArtifactIndexCreator.updateArtifactInfo
(org.apache.lucene.document.Document document, ArtifactInfo artifactInfo) void
JarFileContentsIndexCreator.updateDocument
(ArtifactInfo ai, org.apache.lucene.document.Document doc) void
MavenArchetypeArtifactInfoIndexCreator.updateDocument
(ArtifactInfo ai, org.apache.lucene.document.Document doc) void
MavenPluginArtifactInfoIndexCreator.updateDocument
(ArtifactInfo ai, org.apache.lucene.document.Document doc) void
MinimalArtifactInfoIndexCreator.updateDocument
(ArtifactInfo ai, org.apache.lucene.document.Document doc) void
OsgiArtifactIndexCreator.updateDocument
(ArtifactInfo artifactInfo, org.apache.lucene.document.Document document) void
JarFileContentsIndexCreator.updateLegacyDocument
(ArtifactInfo ai, org.apache.lucene.document.Document doc) void
LegacyDocumentUpdater.updateLegacyDocument
(ArtifactInfo ai, org.apache.lucene.document.Document doc) Update a legacy LuceneDocument
from theArtifactInfo
.void
MinimalArtifactInfoIndexCreator.updateLegacyDocument
(ArtifactInfo ai, org.apache.lucene.document.Document doc) -
Uses of ArtifactInfo in org.apache.maven.index.examples.indexing
Modifier and TypeMethodDescriptionSearchResults.getResults()
RepositoryIndexer.search
(String groupId, String artifactId, String version, String packaging, String classifier) RepositoryIndexer.searchBySHA1
(String checksum) Modifier and TypeMethodDescriptionvoid
RepositoryIndexer.addArtifactToIndex
(File artifactFile, ArtifactInfo artifactInfo) Modifier and TypeMethodDescriptionvoid
RepositoryIndexer.delete
(Collection<ArtifactInfo> artifacts) void
SearchResults.setResults
(Map<String, Collection<ArtifactInfo>> results) -
Uses of ArtifactInfo in org.apache.maven.index.examples.services.impl
Modifier and TypeMethodDescriptionArtifactIndexingServiceImpl.getResultsMap
(String repositoryId, String query) -
Uses of ArtifactInfo in org.apache.maven.index.search.grouping
Modifier and TypeMethodDescriptionboolean
AbstractGrouping.addArtifactInfo
(Map<String, ArtifactInfoGroup> result, ArtifactInfo artifactInfo) protected abstract String
AbstractGrouping.getGroupKey
(ArtifactInfo artifactInfo) protected String
GAGrouping.getGroupKey
(ArtifactInfo artifactInfo) protected String
GAVGrouping.getGroupKey
(ArtifactInfo artifactInfo) protected String
GGrouping.getGroupKey
(ArtifactInfo artifactInfo) protected String
RGAVGrouping.getGroupKey
(ArtifactInfo artifactInfo) protected String
RGGrouping.getGroupKey
(ArtifactInfo artifactInfo) ModifierConstructorDescriptionAbstractGrouping
(Comparator<ArtifactInfo> comparator) GAGrouping
(Comparator<ArtifactInfo> comparator) GAVGrouping
(Comparator<ArtifactInfo> comparator) GGrouping
(Comparator<ArtifactInfo> comparator) RGAVGrouping
(Comparator<ArtifactInfo> comparator) RGGrouping
(Comparator<ArtifactInfo> comparator) -
Uses of ArtifactInfo in org.apache.maven.index.treeview
Modifier and TypeMethodDescriptionDefaultTreeNodeFactory.createANode
(IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path) TreeNodeFactory.createANode
(IndexTreeView tview, TreeViewRequest request, ArtifactInfo ai, String path) DefaultTreeNodeFactory.createArtifactNode
(IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path) TreeNodeFactory.createArtifactNode
(IndexTreeView tview, TreeViewRequest request, ArtifactInfo ai, String path) DefaultTreeNodeFactory.createVNode
(IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path) TreeNodeFactory.createVNode
(IndexTreeView tview, TreeViewRequest request, ArtifactInfo ai, String path) protected TreeNode
DefaultTreeNodeFactory.decorateANode
(IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path, TreeNode node) protected TreeNode
DefaultTreeNodeFactory.decorateArtifactNode
(IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path, TreeNode node) protected TreeNode
DefaultTreeNodeFactory.decorateVNode
(IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path, TreeNode node) protected String
DefaultIndexTreeView.getPathForAi
(ArtifactInfo ai, Field field) Builds a path out from ArtifactInfo. -
Uses of ArtifactInfo in org.apache.maven.search.backend.indexer
Modifier and TypeMethodDescriptionIndexerCoreSearchResponse.getArtifactInfos()
Returns the "raw" list ofArtifactInfo
s used to create this response, nevernull
. -
Uses of ArtifactInfo in org.apache.maven.search.backend.indexer.internal