|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IndexingContext | |
---|---|
org.apache.maven.index | |
org.apache.maven.index.context | |
org.apache.maven.index.packer | |
org.apache.maven.index.treeview | |
org.apache.maven.index.updater |
Uses of IndexingContext in org.apache.maven.index |
---|
Methods in org.apache.maven.index that return IndexingContext | |
---|---|
IndexingContext |
NexusIndexer.addIndexingContext(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory directory,
String repositoryUrl,
String indexUpdateUrl,
List<? extends IndexCreator> indexers)
Adds an indexing context to Nexus indexer. |
IndexingContext |
DefaultNexusIndexer.addIndexingContext(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory directory,
String repositoryUrl,
String indexUpdateUrl,
List<? extends IndexCreator> indexers)
|
IndexingContext |
NexusIndexer.addIndexingContext(String id,
String repositoryId,
File repository,
File indexDirectory,
String repositoryUrl,
String indexUpdateUrl,
List<? extends IndexCreator> indexers)
Adds an indexing context to Nexus indexer. |
IndexingContext |
DefaultNexusIndexer.addIndexingContext(String id,
String repositoryId,
File repository,
File indexDirectory,
String repositoryUrl,
String indexUpdateUrl,
List<? extends IndexCreator> indexers)
|
IndexingContext |
NexusIndexer.addIndexingContextForced(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory directory,
String repositoryUrl,
String indexUpdateUrl,
List<? extends IndexCreator> indexers)
Adds an indexing context to Nexus indexer. |
IndexingContext |
DefaultNexusIndexer.addIndexingContextForced(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory directory,
String repositoryUrl,
String indexUpdateUrl,
List<? extends IndexCreator> indexers)
|
IndexingContext |
NexusIndexer.addIndexingContextForced(String id,
String repositoryId,
File repository,
File indexDirectory,
String repositoryUrl,
String indexUpdateUrl,
List<? extends IndexCreator> indexers)
Adds an indexing context to Nexus indexer. |
IndexingContext |
DefaultNexusIndexer.addIndexingContextForced(String id,
String repositoryId,
File repository,
File indexDirectory,
String repositoryUrl,
String indexUpdateUrl,
List<? extends IndexCreator> indexers)
|
IndexingContext |
NexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory indexDirectory,
boolean searchable,
Collection<IndexingContext> contexts)
|
IndexingContext |
DefaultNexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory indexDirectory,
boolean searchable,
Collection<IndexingContext> contexts)
|
IndexingContext |
NexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory indexDirectory,
boolean searchable,
ContextMemberProvider membersProvider)
|
IndexingContext |
DefaultNexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory indexDirectory,
boolean searchable,
ContextMemberProvider membersProvider)
|
IndexingContext |
NexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
File indexDirectory,
boolean searchable,
Collection<IndexingContext> contexts)
|
IndexingContext |
DefaultNexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
File indexDirectory,
boolean searchable,
Collection<IndexingContext> contexts)
|
IndexingContext |
NexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
File indexDirectory,
boolean searchable,
ContextMemberProvider membersProvider)
|
IndexingContext |
DefaultNexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
File indexDirectory,
boolean searchable,
ContextMemberProvider membersProvider)
|
IndexingContext |
ScanningRequest.getIndexingContext()
|
protected IndexingContext |
DefaultIteratorResultSet.getIndexingContextForPointer(org.apache.lucene.document.Document doc,
int docPtr)
|
Methods in org.apache.maven.index that return types with arguments of type IndexingContext | |
---|---|
List<IndexingContext> |
AbstractSearchRequest.getContexts()
|
Map<String,IndexingContext> |
NexusIndexer.getIndexingContexts()
Returns the map of indexing contexts keyed by their ID. |
Map<String,IndexingContext> |
DefaultNexusIndexer.getIndexingContexts()
|
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 IndexingContext | |
---|---|
boolean |
UniqueGAArtifactFilterPostprocessor.accepts(IndexingContext ctx,
ArtifactInfo ai)
Deprecated. |
boolean |
UniqueArtifactFilterPostprocessor.accepts(IndexingContext ctx,
ArtifactInfo ai)
|
boolean |
ArtifactInfoFilter.accepts(IndexingContext ctx,
ArtifactInfo ai)
|
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)
|
protected 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. |
void |
NexusIndexer.addArtifactsToIndex(Collection<ArtifactContext> acs,
IndexingContext context)
|
void |
DefaultNexusIndexer.addArtifactsToIndex(Collection<ArtifactContext> ac,
IndexingContext context)
|
void |
NexusIndexer.addArtifactToIndex(ArtifactContext ac,
IndexingContext context)
|
void |
DefaultNexusIndexer.addArtifactToIndex(ArtifactContext ac,
IndexingContext context)
Delegates to the IndexerEngine to update artifact to the index |
void |
NexusIndexer.artifactDiscovered(ArtifactContext ac,
IndexingContext context)
|
void |
DefaultNexusIndexer.artifactDiscovered(ArtifactContext ac,
IndexingContext context)
Delegates to the IndexerEngine to add a new artifact to the index |
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. |
org.apache.lucene.document.Document |
ArtifactContext.createDocument(IndexingContext context)
Creates Lucene Document using IndexCreator s from the given IndexingContext . |
void |
NexusIndexer.deleteArtifactFromIndex(ArtifactContext ac,
IndexingContext context)
|
void |
DefaultNexusIndexer.deleteArtifactFromIndex(ArtifactContext ac,
IndexingContext context)
Delegates to the IndexerEngine to remove artifact from the index |
void |
NexusIndexer.deleteArtifactsFromIndex(Collection<ArtifactContext> acs,
IndexingContext context)
|
void |
DefaultNexusIndexer.deleteArtifactsFromIndex(Collection<ArtifactContext> ac,
IndexingContext context)
|
ArtifactContext |
DefaultArtifactContextProducer.getArtifactContext(IndexingContext context,
File file)
Get ArtifactContext for given pom or artifact (jar, war, etc). |
ArtifactContext |
ArtifactContextProducer.getArtifactContext(IndexingContext context,
File file)
|
protected List<String> |
DefaultIteratorResultSet.highlightField(IndexingContext context,
MatchHighlightRequest hr,
IndexerField field,
String text)
Returns a string that contains match fragment highlighted in style as user requested. |
void |
IndexerEngine.index(IndexingContext context,
ArtifactContext ac)
Add new artifact to the index |
void |
DefaultIndexerEngine.index(IndexingContext context,
ArtifactContext ac)
|
void |
UniqueGAArtifactFilterPostprocessor.postprocess(IndexingContext ctx,
ArtifactInfo ai)
Deprecated. |
void |
UniqueArtifactFilterPostprocessor.postprocess(IndexingContext ctx,
ArtifactInfo ai)
|
void |
ArtifactInfoPostprocessor.postprocess(IndexingContext ctx,
ArtifactInfo ai)
|
void |
IndexerEngine.remove(IndexingContext context,
ArtifactContext ac)
Remove artifact to the index |
void |
DefaultIndexerEngine.remove(IndexingContext context,
ArtifactContext ac)
|
void |
NexusIndexer.removeIndexingContext(IndexingContext context,
boolean deleteFiles)
Removes the indexing context from Nexus indexer, closes it and deletes (if specified) the index files. |
void |
DefaultNexusIndexer.removeIndexingContext(IndexingContext context,
boolean deleteFiles)
|
void |
NexusIndexer.scan(IndexingContext context)
Performs full scan (reindex) for the local repository belonging to supplied context. |
void |
DefaultNexusIndexer.scan(IndexingContext context)
|
void |
NexusIndexer.scan(IndexingContext context,
ArtifactScanningListener listener)
Performs full scan (reindex) for the local repository belonging to supplied context. |
void |
DefaultNexusIndexer.scan(IndexingContext context,
ArtifactScanningListener listener)
|
void |
NexusIndexer.scan(IndexingContext context,
ArtifactScanningListener listener,
boolean update)
Performs optionally incremental scan (reindex) for the local repository, with listener. |
void |
DefaultNexusIndexer.scan(IndexingContext context,
ArtifactScanningListener listener,
boolean update)
|
void |
NexusIndexer.scan(IndexingContext context,
boolean update)
Performs optionally incremental scan (reindex/full reindex) for the local repository belonging to the supplied context. |
void |
DefaultNexusIndexer.scan(IndexingContext context,
boolean update)
|
void |
NexusIndexer.scan(IndexingContext context,
String fromPath,
ArtifactScanningListener listener,
boolean update)
Performs optionally incremental scan (reindex) for the local repository. |
void |
DefaultNexusIndexer.scan(IndexingContext context,
String fromPath,
ArtifactScanningListener listener,
boolean update)
Uses Scanner to scan repository content. |
void |
ArtifactScanningListener.scanningFinished(IndexingContext ctx,
ScanningResult result)
|
void |
ArtifactScanningListener.scanningStarted(IndexingContext ctx)
|
Set<ArtifactInfo> |
SearchEngine.searchFlat(Comparator<ArtifactInfo> artifactInfoComparator,
IndexingContext indexingContext,
org.apache.lucene.search.Query query)
Deprecated. |
Set<ArtifactInfo> |
DefaultSearchEngine.searchFlat(Comparator<ArtifactInfo> artifactInfoComparator,
IndexingContext indexingContext,
org.apache.lucene.search.Query query)
Deprecated. |
void |
IndexerEngine.update(IndexingContext context,
ArtifactContext ac)
Replace data for a previously indexed artifact |
void |
DefaultIndexerEngine.update(IndexingContext context,
ArtifactContext ac)
|
Method parameters in org.apache.maven.index with type arguments of type IndexingContext | |
---|---|
IndexingContext |
NexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory indexDirectory,
boolean searchable,
Collection<IndexingContext> contexts)
|
IndexingContext |
DefaultNexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
org.apache.lucene.store.Directory indexDirectory,
boolean searchable,
Collection<IndexingContext> contexts)
|
IndexingContext |
NexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
File indexDirectory,
boolean searchable,
Collection<IndexingContext> contexts)
|
IndexingContext |
DefaultNexusIndexer.addMergedIndexingContext(String id,
String repositoryId,
File repository,
File indexDirectory,
boolean searchable,
Collection<IndexingContext> contexts)
|
FlatSearchResponse |
SearchEngine.forceSearchFlatPaged(FlatSearchRequest request,
Collection<IndexingContext> indexingContexts)
Do the search in all contexts, no matter if the context is searchable or not |
FlatSearchResponse |
DefaultSearchEngine.forceSearchFlatPaged(FlatSearchRequest request,
Collection<IndexingContext> indexingContexts)
|
GroupedSearchResponse |
SearchEngine.forceSearchGrouped(GroupedSearchRequest request,
Collection<IndexingContext> indexingContexts)
Do the search in all contexts, no matter if the context is searchable or not |
GroupedSearchResponse |
DefaultSearchEngine.forceSearchGrouped(GroupedSearchRequest request,
Collection<IndexingContext> indexingContexts)
|
IteratorSearchResponse |
SearchEngine.forceSearchIteratorPaged(IteratorSearchRequest request,
Collection<IndexingContext> indexingContexts)
Do the search in all contexts, no matter if the context is searchable or not |
IteratorSearchResponse |
DefaultSearchEngine.forceSearchIteratorPaged(IteratorSearchRequest request,
Collection<IndexingContext> indexingContexts)
|
protected org.apache.lucene.index.IndexReader |
DefaultSearchEngine.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. |
Collection<ArtifactInfo> |
NexusIndexer.identify(File artifact,
Collection<IndexingContext> contexts)
|
Collection<ArtifactInfo> |
DefaultNexusIndexer.identify(File artifact,
Collection<IndexingContext> contexts)
|
Collection<ArtifactInfo> |
NexusIndexer.identify(org.apache.lucene.search.Query query,
Collection<IndexingContext> contexts)
|
Collection<ArtifactInfo> |
DefaultNexusIndexer.identify(org.apache.lucene.search.Query query,
Collection<IndexingContext> contexts)
|
Set<ArtifactInfo> |
SearchEngine.searchFlat(Comparator<ArtifactInfo> artifactInfoComparator,
Collection<IndexingContext> indexingContexts,
org.apache.lucene.search.Query query)
Deprecated. |
Set<ArtifactInfo> |
DefaultSearchEngine.searchFlat(Comparator<ArtifactInfo> artifactInfoComparator,
Collection<IndexingContext> indexingContexts,
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)
|
FlatSearchResponse |
SearchEngine.searchFlatPaged(FlatSearchRequest request,
Collection<IndexingContext> indexingContexts)
Do the search only on searchable contexts |
FlatSearchResponse |
DefaultSearchEngine.searchFlatPaged(FlatSearchRequest request,
Collection<IndexingContext> indexingContexts)
|
protected FlatSearchResponse |
DefaultSearchEngine.searchFlatPaged(FlatSearchRequest request,
Collection<IndexingContext> indexingContexts,
boolean ignoreContext)
|
GroupedSearchResponse |
SearchEngine.searchGrouped(GroupedSearchRequest request,
Collection<IndexingContext> indexingContexts)
Do the search only on searchable contexts |
GroupedSearchResponse |
DefaultSearchEngine.searchGrouped(GroupedSearchRequest request,
Collection<IndexingContext> indexingContexts)
|
protected GroupedSearchResponse |
DefaultSearchEngine.searchGrouped(GroupedSearchRequest request,
Collection<IndexingContext> indexingContexts,
boolean ignoreContext)
|
protected int |
DefaultSearchEngine.searchGrouped(GroupedSearchRequest req,
Map<String,ArtifactInfoGroup> result,
Grouping grouping,
List<IndexingContext> participatingContexts,
org.apache.lucene.search.Query query)
|
IteratorSearchResponse |
SearchEngine.searchIteratorPaged(IteratorSearchRequest request,
Collection<IndexingContext> indexingContexts)
Do the search only on searchable contexts |
IteratorSearchResponse |
DefaultSearchEngine.searchIteratorPaged(IteratorSearchRequest request,
Collection<IndexingContext> indexingContexts)
|
void |
AbstractSearchRequest.setContexts(List<IndexingContext> contexts)
|
Constructors in org.apache.maven.index with parameters of type IndexingContext | |
---|---|
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 IndexingContext | |
---|---|
AbstractSearchPageableRequest(org.apache.lucene.search.Query query,
List<IndexingContext> contexts)
|
|
AbstractSearchRequest(org.apache.lucene.search.Query query,
List<IndexingContext> contexts)
|
|
DefaultIteratorResultSet(IteratorSearchRequest request,
org.apache.lucene.search.IndexSearcher 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.context |
---|
Classes in org.apache.maven.index.context that implement IndexingContext | |
---|---|
class |
AbstractIndexingContext
|
class |
DefaultIndexingContext
The default IndexingContext implementation. |
class |
MergedIndexingContext
A 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 IndexingContext | |
---|---|
IndexingContext |
NexusIndexSearcher.getIndexingContext()
|
Methods in org.apache.maven.index.context that return types with arguments of type IndexingContext | |
---|---|
List<IndexingContext> |
StaticContextMemberProvider.getMembers()
|
Collection<IndexingContext> |
MergedIndexingContext.getMembers()
|
Collection<IndexingContext> |
ContextMemberProvider.getMembers()
|
Methods in org.apache.maven.index.context with parameters of type IndexingContext | |
---|---|
static ArtifactInfo |
IndexUtils.constructArtifactInfo(org.apache.lucene.document.Document doc,
IndexingContext context)
|
static org.apache.lucene.document.Document |
IndexUtils.updateDocument(org.apache.lucene.document.Document doc,
IndexingContext context)
|
static org.apache.lucene.document.Document |
IndexUtils.updateDocument(org.apache.lucene.document.Document doc,
IndexingContext context,
boolean updateLastModified)
|
Constructors in org.apache.maven.index.context with parameters of type IndexingContext | |
---|---|
NexusIndexSearcher(IndexingContext indexingContext)
|
|
NexusIndexSearcher(IndexingContext indexingContext,
org.apache.lucene.index.IndexReader reader)
|
Constructor parameters in org.apache.maven.index.context with type arguments of type IndexingContext | |
---|---|
StaticContextMemberProvider(Collection<IndexingContext> members)
|
Uses of IndexingContext in org.apache.maven.index.packer |
---|
Methods in org.apache.maven.index.packer that return IndexingContext | |
---|---|
IndexingContext |
IndexPackingRequest.getContext()
|
Methods in org.apache.maven.index.packer with parameters of type IndexingContext | |
---|---|
static void |
DefaultIndexPacker.packIndexArchive(IndexingContext context,
OutputStream os)
Pack legacy index archive into a specified output stream |
void |
IndexPackingRequest.setContext(IndexingContext context)
|
Constructors in org.apache.maven.index.packer with parameters of type IndexingContext | |
---|---|
IndexPackingRequest(IndexingContext context,
File targetDir)
|
Uses of IndexingContext in org.apache.maven.index.treeview |
---|
Methods in org.apache.maven.index.treeview that return IndexingContext | |
---|---|
IndexingContext |
TreeViewRequest.getIndexingContext()
|
Constructors in org.apache.maven.index.treeview with parameters of type IndexingContext | |
---|---|
TreeViewRequest(TreeNodeFactory factory,
String path,
IndexingContext ctx)
|
|
TreeViewRequest(TreeNodeFactory factory,
String path,
Map<Field,String> hints,
ArtifactInfoFilter artifactInfoFilter,
IndexingContext ctx)
|
Uses of IndexingContext in org.apache.maven.index.updater |
---|
Methods in org.apache.maven.index.updater that return IndexingContext | |
---|---|
IndexingContext |
IndexUpdateRequest.getIndexingContext()
|
Methods in org.apache.maven.index.updater with parameters of type IndexingContext | |
---|---|
IndexDataReader.IndexDataReadResult |
IndexDataReader.readIndex(IndexDataReader.IndexDataReadVisitor visitor,
IndexingContext context)
Reads index content by using a visitor. |
IndexDataReader.IndexDataReadResult |
IndexDataReader.readIndex(org.apache.lucene.index.IndexWriter w,
IndexingContext context)
|
static Date |
DefaultIndexUpdater.unpackIndexArchive(InputStream is,
org.apache.lucene.store.Directory directory,
IndexingContext context)
Unpack legacy index archive into a specified Lucene Directory |
static Date |
DefaultIndexUpdater.unpackIndexData(InputStream is,
org.apache.lucene.store.Directory d,
IndexingContext context)
Unpack index data using specified Lucene Index writer |
void |
IndexUpdateSideEffect.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. |
int |
IndexDataWriter.write(IndexingContext context,
List<Integer> docIndexes)
|
void |
IndexDataWriter.writeHeader(IndexingContext context)
|
Constructors in org.apache.maven.index.updater with parameters of type IndexingContext | |
---|---|
IndexUpdateRequest(IndexingContext context,
ResourceFetcher resourceFetcher)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |