Uses of Interface
org.apache.maven.index.context.IndexingContext
Packages that use IndexingContext
Package
Description
-
Uses of IndexingContext in org.apache.maven.index
Methods in org.apache.maven.index that return IndexingContextModifier and TypeMethodDescriptionDefaultNexusIndexer.addIndexingContext(String id, String repositoryId, File repository, File indexDirectory, String repositoryUrl, String indexUpdateUrl, List<? extends IndexCreator> indexers) Deprecated.DefaultNexusIndexer.addIndexingContext(String id, String repositoryId, File repository, org.apache.lucene.store.Directory directory, String repositoryUrl, String indexUpdateUrl, List<? extends IndexCreator> indexers) Deprecated.NexusIndexer.addIndexingContext(String id, String repositoryId, File repository, File indexDirectory, String repositoryUrl, String indexUpdateUrl, List<? extends IndexCreator> indexers) Deprecated.NexusIndexer.addIndexingContext(String id, String repositoryId, File repository, org.apache.lucene.store.Directory directory, String repositoryUrl, String indexUpdateUrl, List<? extends IndexCreator> indexers) Deprecated.UseIndexerinstead.DefaultNexusIndexer.addIndexingContextForced(String id, String repositoryId, File repository, File indexDirectory, String repositoryUrl, String indexUpdateUrl, List<? extends IndexCreator> indexers) Deprecated.DefaultNexusIndexer.addIndexingContextForced(String id, String repositoryId, File repository, org.apache.lucene.store.Directory directory, String repositoryUrl, String indexUpdateUrl, List<? extends IndexCreator> indexers) Deprecated.NexusIndexer.addIndexingContextForced(String id, String repositoryId, File repository, File indexDirectory, String repositoryUrl, String indexUpdateUrl, List<? extends IndexCreator> indexers) Deprecated.UseIndexerinstead.NexusIndexer.addIndexingContextForced(String id, String repositoryId, File repository, org.apache.lucene.store.Directory directory, String repositoryUrl, String indexUpdateUrl, List<? extends IndexCreator> indexers) Deprecated.UseIndexerinstead.DefaultNexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, File indexDirectory, boolean searchable, Collection<IndexingContext> contexts) Deprecated.DefaultNexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, File indexDirectory, boolean searchable, ContextMemberProvider membersProvider) Deprecated.DefaultNexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, org.apache.lucene.store.Directory indexDirectory, boolean searchable, Collection<IndexingContext> contexts) Deprecated.DefaultNexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, org.apache.lucene.store.Directory indexDirectory, boolean searchable, ContextMemberProvider membersProvider) Deprecated.NexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, File indexDirectory, boolean searchable, Collection<IndexingContext> contexts) Deprecated.NexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, File indexDirectory, boolean searchable, ContextMemberProvider membersProvider) Deprecated.NexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, org.apache.lucene.store.Directory indexDirectory, boolean searchable, Collection<IndexingContext> contexts) Deprecated.NexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, org.apache.lucene.store.Directory indexDirectory, boolean searchable, ContextMemberProvider membersProvider) Deprecated.DefaultIndexer.createIndexingContext(String id, String repositoryId, File repository, File indexDirectory, String repositoryUrl, String indexUpdateUrl, boolean searchable, boolean reclaim, List<? extends IndexCreator> indexers) Indexer.createIndexingContext(String id, String repositoryId, File repository, File indexDirectory, String repositoryUrl, String indexUpdateUrl, boolean searchable, boolean reclaim, List<? extends IndexCreator> indexers) Creates an indexing context.DefaultIndexer.createMergedIndexingContext(String id, String repositoryId, File repository, File indexDirectory, boolean searchable, ContextMemberProvider membersProvider) Indexer.createMergedIndexingContext(String id, String repositoryId, File repository, File indexDirectory, boolean searchable, ContextMemberProvider membersProvider) Creates a merged indexing context.ScanningRequest.getIndexingContext()protected IndexingContextDefaultIteratorResultSet.getIndexingContextForPointer(org.apache.lucene.document.Document doc, int docPtr) Methods in org.apache.maven.index that return types with arguments of type IndexingContextModifier and TypeMethodDescriptionAbstractSearchRequest.getContexts()DefaultNexusIndexer.getIndexingContexts()Deprecated.NexusIndexer.getIndexingContexts()Deprecated.UseIndexerinstead.protected List<IndexingContext> DefaultSearchEngine.getParticipatingContexts(Collection<IndexingContext> indexingContexts, boolean ignoreContext) Returns the list of participating contexts.Methods in org.apache.maven.index with parameters of type IndexingContextModifier and TypeMethodDescriptionprotected abstract booleanAbstractMultiArtifactInfoFilter.accepts(List<ArtifactInfoFilter> filters, IndexingContext ctx, ArtifactInfo ai) It is left to final implementor to implement how we want to decide using filters.booleanAbstractMultiArtifactInfoFilter.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 booleanAndMultiArtifactInfoFilter.accepts(List<ArtifactInfoFilter> filters, IndexingContext ctx, ArtifactInfo ai) booleanArtifactInfoFilter.accepts(IndexingContext ctx, ArtifactInfo ai) booleanUniqueArtifactFilterPostprocessor.accepts(IndexingContext ctx, ArtifactInfo ai) booleanUniqueGAArtifactFilterPostprocessor.accepts(IndexingContext ctx, ArtifactInfo ai) Deprecated.voidDefaultIndexer.addArtifactsToIndex(Collection<ArtifactContext> ac, IndexingContext context) voidDefaultNexusIndexer.addArtifactsToIndex(Collection<ArtifactContext> acs, IndexingContext context) Deprecated.voidIndexer.addArtifactsToIndex(Collection<ArtifactContext> acs, IndexingContext context) Adds the passed in artifact contexts to passed in indexing context.voidNexusIndexer.addArtifactsToIndex(Collection<ArtifactContext> acs, IndexingContext context) Deprecated.voidDefaultIndexer.addArtifactToIndex(ArtifactContext ac, IndexingContext context) voidDefaultNexusIndexer.addArtifactToIndex(ArtifactContext ac, IndexingContext context) Deprecated.Delegates to theIndexerEngineto update artifact to the indexvoidIndexer.addArtifactToIndex(ArtifactContext ac, IndexingContext context) Adds the passed in artifact contexts to passed in indexing context.voidNexusIndexer.addArtifactToIndex(ArtifactContext ac, IndexingContext context) Deprecated.voidDefaultNexusIndexer.addIndexingContext(IndexingContext context) Deprecated.voidNexusIndexer.addIndexingContext(IndexingContext context) Deprecated.Adds an indexing context to Nexus indexer.voidDefaultNexusIndexer.artifactDiscovered(ArtifactContext ac, IndexingContext context) Deprecated.Delegates to theIndexerEngineto add a new artifact to the indexvoidNexusIndexer.artifactDiscovered(ArtifactContext ac, IndexingContext context) Deprecated.protected voidDefaultIteratorResultSet.calculateHighlights(IndexingContext context, org.apache.lucene.document.Document d, ArtifactInfo ai) Creates the MatchHighlights and adds them to ArtifactInfo if found/can.voidDefaultIndexer.closeIndexingContext(IndexingContext context, boolean deleteFiles) voidIndexer.closeIndexingContext(IndexingContext context, boolean deleteFiles) Closes the indexing context: closes it and deletes (if specified) the index files.org.apache.lucene.document.DocumentArtifactContext.createDocument(IndexingContext context) Creates Lucene Document usingIndexCreators from the givenIndexingContext.voidDefaultNexusIndexer.deleteArtifactFromIndex(ArtifactContext ac, IndexingContext context) Deprecated.Delegates to theIndexerEngineto remove artifact from the indexvoidNexusIndexer.deleteArtifactFromIndex(ArtifactContext ac, IndexingContext context) Deprecated.voidDefaultIndexer.deleteArtifactsFromIndex(Collection<ArtifactContext> ac, IndexingContext context) voidDefaultNexusIndexer.deleteArtifactsFromIndex(Collection<ArtifactContext> acs, IndexingContext context) Deprecated.voidIndexer.deleteArtifactsFromIndex(Collection<ArtifactContext> acs, IndexingContext context) Removes the passed in artifacts contexts from passed in indexing context.voidNexusIndexer.deleteArtifactsFromIndex(Collection<ArtifactContext> acs, IndexingContext context) Deprecated.ArtifactContextProducer.getArtifactContext(IndexingContext context, File file) DefaultArtifactContextProducer.getArtifactContext(IndexingContext context, File file) Get ArtifactContext for given pom or artifact (jar, war, etc).protected GavDefaultArtifactContextProducer.getGavFromPath(IndexingContext context, String repositoryPath, String artifactPath) DefaultIteratorResultSet.highlightField(IndexingContext context, MatchHighlightRequest hr, IndexerField field, String text) Returns a string that contains match fragment highlighted in style as user requested.voidDefaultIndexerEngine.index(IndexingContext context, ArtifactContext ac) voidIndexerEngine.index(IndexingContext context, ArtifactContext ac) Add new artifact to the indexvoidArtifactInfoPostprocessor.postprocess(IndexingContext ctx, ArtifactInfo ai) voidUniqueArtifactFilterPostprocessor.postprocess(IndexingContext ctx, ArtifactInfo ai) voidUniqueGAArtifactFilterPostprocessor.postprocess(IndexingContext ctx, ArtifactInfo ai) Deprecated.voidDefaultIndexerEngine.remove(IndexingContext context, ArtifactContext ac) voidIndexerEngine.remove(IndexingContext context, ArtifactContext ac) Remove artifact to the indexvoidDefaultNexusIndexer.removeIndexingContext(IndexingContext context, boolean deleteFiles) Deprecated.voidNexusIndexer.removeIndexingContext(IndexingContext context, boolean deleteFiles) Deprecated.UseIndexerinstead.voidDefaultNexusIndexer.scan(IndexingContext context) Deprecated.voidDefaultNexusIndexer.scan(IndexingContext context, boolean update) Deprecated.voidDefaultNexusIndexer.scan(IndexingContext context, String fromPath, ArtifactScanningListener listener, boolean update) Deprecated.UsesScannerto scan repository content.voidDefaultNexusIndexer.scan(IndexingContext context, ArtifactScanningListener listener) Deprecated.voidDefaultNexusIndexer.scan(IndexingContext context, ArtifactScanningListener listener, boolean update) Deprecated.voidNexusIndexer.scan(IndexingContext context) Deprecated.UseIndexerinstead.voidNexusIndexer.scan(IndexingContext context, boolean update) Deprecated.UseIndexerinstead.voidNexusIndexer.scan(IndexingContext context, String fromPath, ArtifactScanningListener listener, boolean update) Deprecated.UseIndexerinstead.voidNexusIndexer.scan(IndexingContext context, ArtifactScanningListener listener) Deprecated.UseIndexerinstead.voidNexusIndexer.scan(IndexingContext context, ArtifactScanningListener listener, boolean update) Deprecated.UseIndexerinstead.voidArtifactScanningListener.scanningFinished(IndexingContext ctx, ScanningResult result) voidDefaultScannerListener.scanningFinished(IndexingContext ctx, ScanningResult result) voidArtifactScanningListener.scanningStarted(IndexingContext ctx) voidDefaultScannerListener.scanningStarted(IndexingContext ctx) DefaultSearchEngine.searchFlat(Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query) Deprecated.SearchEngine.searchFlat(Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query) Deprecated.voidDefaultIndexerEngine.update(IndexingContext context, ArtifactContext ac) voidIndexerEngine.update(IndexingContext context, ArtifactContext ac) Replace data for a previously indexed artifactMethod parameters in org.apache.maven.index with type arguments of type IndexingContextModifier and TypeMethodDescriptionDefaultNexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, File indexDirectory, boolean searchable, Collection<IndexingContext> contexts) Deprecated.DefaultNexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, org.apache.lucene.store.Directory indexDirectory, boolean searchable, Collection<IndexingContext> contexts) Deprecated.NexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, File indexDirectory, boolean searchable, Collection<IndexingContext> contexts) Deprecated.NexusIndexer.addMergedIndexingContext(String id, String repositoryId, File repository, org.apache.lucene.store.Directory indexDirectory, boolean searchable, Collection<IndexingContext> contexts) Deprecated.DefaultSearchEngine.forceSearchFlatPaged(FlatSearchRequest request, Collection<IndexingContext> indexingContexts) SearchEngine.forceSearchFlatPaged(FlatSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search in all contexts, no matter if the context is searchable or notDefaultSearchEngine.forceSearchGrouped(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts) SearchEngine.forceSearchGrouped(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search in all contexts, no matter if the context is searchable or notDefaultSearchEngine.forceSearchIteratorPaged(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts) SearchEngine.forceSearchIteratorPaged(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search in all contexts, no matter if the context is searchable or notprotected NexusIndexMultiReaderDefaultSearchEngine.getMergedIndexReader(Collection<IndexingContext> indexingContexts, boolean ignoreContext) Locks down participating contexts, and returns a "merged" reader of them.protected List<IndexingContext> DefaultSearchEngine.getParticipatingContexts(Collection<IndexingContext> indexingContexts, boolean ignoreContext) Returns the list of participating contexts.DefaultIndexer.identify(File artifact, Collection<IndexingContext> contexts) DefaultIndexer.identify(org.apache.lucene.search.Query query, Collection<IndexingContext> contexts) DefaultNexusIndexer.identify(File artifact, Collection<IndexingContext> contexts) Deprecated.DefaultNexusIndexer.identify(org.apache.lucene.search.Query query, Collection<IndexingContext> contexts) 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.NexusIndexer.identify(File artifact, Collection<IndexingContext> contexts) Deprecated.NexusIndexer.identify(org.apache.lucene.search.Query query, Collection<IndexingContext> contexts) Deprecated.DefaultSearchEngine.searchFlat(Comparator<ArtifactInfo> artifactInfoComparator, Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query) Deprecated.protected intDefaultSearchEngine.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.DefaultSearchEngine.searchFlatPaged(FlatSearchRequest request, Collection<IndexingContext> indexingContexts) protected FlatSearchResponseDefaultSearchEngine.searchFlatPaged(FlatSearchRequest request, Collection<IndexingContext> indexingContexts, boolean ignoreContext) SearchEngine.searchFlatPaged(FlatSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search only on searchable contextsDefaultSearchEngine.searchGrouped(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts) protected GroupedSearchResponseDefaultSearchEngine.searchGrouped(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts, boolean ignoreContext) protected intDefaultSearchEngine.searchGrouped(GroupedSearchRequest req, Map<String, ArtifactInfoGroup> result, Grouping grouping, List<IndexingContext> participatingContexts, org.apache.lucene.search.Query query) SearchEngine.searchGrouped(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search only on searchable contextsDefaultSearchEngine.searchIteratorPaged(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts) SearchEngine.searchIteratorPaged(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search only on searchable contextsvoidAbstractSearchRequest.setContexts(List<IndexingContext> contexts) Constructors in org.apache.maven.index with parameters of type IndexingContextModifierConstructorDescriptionDefaultScannerListener(IndexingContext context, IndexerEngine indexerEngine, boolean update, ArtifactScanningListener listener) FlatSearchRequest(org.apache.lucene.search.Query query, Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext context) FlatSearchRequest(org.apache.lucene.search.Query query, IndexingContext context) GroupedSearchRequest(org.apache.lucene.search.Query query, Grouping grouping, Comparator<String> groupKeyComparator, IndexingContext context) GroupedSearchRequest(org.apache.lucene.search.Query query, Grouping grouping, IndexingContext context) IteratorSearchRequest(org.apache.lucene.search.Query query, IndexingContext context) ScanningRequest(IndexingContext context, ArtifactScanningListener artifactScanningListener) ScanningRequest(IndexingContext context, ArtifactScanningListener artifactScanningListener, String startingPath) Constructor parameters in org.apache.maven.index with type arguments of type IndexingContextModifierConstructorDescriptionAbstractSearchPageableRequest(org.apache.lucene.search.Query query, List<IndexingContext> contexts) AbstractSearchRequest(org.apache.lucene.search.Query query, List<IndexingContext> contexts) protectedDefaultIteratorResultSet(IteratorSearchRequest request, NexusIndexMultiSearcher indexSearcher, List<IndexingContext> contexts, org.apache.lucene.search.TopDocs hits) IteratorSearchRequest(org.apache.lucene.search.Query query, List<IndexingContext> contexts) IteratorSearchRequest(org.apache.lucene.search.Query query, List<IndexingContext> contexts, ArtifactInfoFilter filter) -
Uses of IndexingContext in org.apache.maven.index.archetype
Methods in org.apache.maven.index.archetype that return types with arguments of type IndexingContextModifier and TypeMethodDescriptionprotected abstract List<IndexingContext> AbstractArchetypeDataSource.getIndexingContexts() -
Uses of IndexingContext in org.apache.maven.index.context
Classes in org.apache.maven.index.context that implement IndexingContextModifier and TypeClassDescriptionclassclassThe defaultIndexingContextimplementation.classA merged indexing context that offers read only "view" on multiple other indexing contexts merged and presented as one.Methods in org.apache.maven.index.context that return IndexingContextMethods in org.apache.maven.index.context that return types with arguments of type IndexingContextModifier and TypeMethodDescriptionContextMemberProvider.getMembers()MergedIndexingContext.getMembers()StaticContextMemberProvider.getMembers()Methods in org.apache.maven.index.context with parameters of type IndexingContextModifier and TypeMethodDescriptionstatic ArtifactInfoIndexUtils.constructArtifactInfo(org.apache.lucene.document.Document doc, IndexingContext context) static org.apache.lucene.document.DocumentIndexUtils.updateDocument(org.apache.lucene.document.Document doc, IndexingContext context) static org.apache.lucene.document.DocumentIndexUtils.updateDocument(org.apache.lucene.document.Document doc, IndexingContext context, boolean updateLastModified) static org.apache.lucene.document.DocumentIndexUtils.updateDocument(org.apache.lucene.document.Document doc, IndexingContext context, boolean updateLastModified, ArtifactInfo ai) Constructors in org.apache.maven.index.context with parameters of type IndexingContextModifierConstructorDescriptionNexusIndexSearcher(IndexingContext indexingContext, org.apache.lucene.index.IndexReader reader) NexusIndexSearcherFactory(IndexingContext context) Constructor parameters in org.apache.maven.index.context with type arguments of type IndexingContext -
Uses of IndexingContext in org.apache.maven.index.examples.indexing
Methods in org.apache.maven.index.examples.indexing that return IndexingContextMethods in org.apache.maven.index.examples.indexing with parameters of type IndexingContextModifier and TypeMethodDescriptionvoidRepositoryIndexer.setIndexingContext(IndexingContext indexingContext) -
Uses of IndexingContext in org.apache.maven.index.packer
Methods in org.apache.maven.index.packer that return IndexingContextConstructors in org.apache.maven.index.packer with parameters of type IndexingContextModifierConstructorDescriptionIndexPackingRequest(IndexingContext context, org.apache.lucene.index.IndexReader indexReader, File targetDir) -
Uses of IndexingContext in org.apache.maven.index.treeview
Methods in org.apache.maven.index.treeview that return IndexingContextConstructors in org.apache.maven.index.treeview with parameters of type IndexingContextModifierConstructorDescriptionTreeViewRequest(TreeNodeFactory factory, String path, Map<Field, String> hints, ArtifactInfoFilter artifactInfoFilter, IndexingContext ctx) TreeViewRequest(TreeNodeFactory factory, String path, IndexingContext ctx) -
Uses of IndexingContext in org.apache.maven.index.updater
Methods in org.apache.maven.index.updater that return IndexingContextMethods in org.apache.maven.index.updater with parameters of type IndexingContextModifier and TypeMethodDescriptionIndexDataReader.readIndex(org.apache.lucene.index.IndexWriter w, IndexingContext context) IndexDataReader.readIndex(IndexDataReader.IndexDataReadVisitor visitor, IndexingContext context) Reads index content by using a visitor.DefaultIndexUpdater.unpackIndexData(InputStream is, int threads, org.apache.lucene.store.Directory d, IndexingContext context) DefaultIndexUpdater.unpackIndexData(InputStream is, IndexUpdateRequest request, org.apache.lucene.store.Directory d, IndexingContext context) voidIndexUpdateSideEffect.updateIndex(org.apache.lucene.store.Directory directory, IndexingContext context, boolean partial) Given a full or partial (see context partial parameter) lucene index (directory + context it has been integrated into), this can let other participants (implementations of this type) know about the update.intIndexDataWriter.write(IndexingContext context, org.apache.lucene.index.IndexReader indexReader, List<Integer> docIndexes) voidIndexDataWriter.writeGroupFields(IndexingContext context) voidIndexDataWriter.writeHeader(IndexingContext context) Constructors in org.apache.maven.index.updater with parameters of type IndexingContextModifierConstructorDescriptionIndexUpdateRequest(IndexingContext context, ResourceFetcher resourceFetcher) -
Uses of IndexingContext in org.apache.maven.search.backend.indexer
Methods in org.apache.maven.search.backend.indexer that return IndexingContextModifier and TypeMethodDescriptionIndexerCoreSearchBackend.getIndexingContext()Returns theIndexingContextused by this search backend, nevernull.Methods in org.apache.maven.search.backend.indexer with parameters of type IndexingContextModifier and TypeMethodDescriptionIndexerCoreSearchBackendFactory.createIndexerCoreSearchBackend(IndexingContext indexingContext) CreatesIndexerCoreSearchBackendinstance using passed in context. -
Uses of IndexingContext in org.apache.maven.search.backend.indexer.internal
Methods in org.apache.maven.search.backend.indexer.internal that return IndexingContextConstructors in org.apache.maven.search.backend.indexer.internal with parameters of type IndexingContextModifierConstructorDescriptionIndexerCoreSearchBackendImpl(Indexer indexer, IndexingContext indexingContext) Creates backend instance using provided indexer and context.
Indexerinstead.