indexer-core/src/main/java/org/apache/maven/index/NexusIndexer.java [121:147]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            String repositoryUrl,
            String indexUpdateUrl,
            List<? extends IndexCreator> indexers)
            throws IOException, UnsupportedExistingLuceneIndexException;

    /**
     * Adds an indexing context to Nexus indexer. It "forces" this operation, thus no
     * UnsupportedExistingLuceneIndexException is thrown. If it founds an existing lucene index, it will simply
     * stomp-over and rewrite (or add) the Nexus index descriptor.
     *
     * @param id the ID of the context.
     * @param repositoryId the ID of the repository that this context represents.
     * @param repository the location of the repository.
     * @param indexDirectory the location of the Lucene indexes.
     * @param repositoryUrl the location of the remote repository.
     * @param indexUpdateUrl the alternate location of the remote repository indexes (if they are not in default place).
     * @param indexers the set of indexers to apply to this context.
     * @return
     * @throws IOException in case of some serious IO problem.
     * @throws IllegalArgumentException in case the supplied list of IndexCreators are not satisfiable
     * @deprecated Use {@link Indexer} instead.
     */
    @Deprecated
    IndexingContext addIndexingContextForced(
            String id,
            String repositoryId,
            File repository,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



indexer-core/src/main/java/org/apache/maven/index/NexusIndexer.java [178:204]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            String repositoryUrl,
            String indexUpdateUrl,
            List<? extends IndexCreator> indexers)
            throws IOException, UnsupportedExistingLuceneIndexException;

    /**
     * Adds an indexing context to Nexus indexer. It "forces" this operation, thus no
     * UnsupportedExistingLuceneIndexException is thrown. If it founds an existing lucene index, it will simply
     * stomp-over and rewrite (or add) the Nexus index descriptor.
     *
     * @param id the ID of the context.
     * @param repositoryId the ID of the repository that this context represents.
     * @param repository the location of the repository.
     * @param directory the location of the Lucene indexes.
     * @param repositoryUrl the location of the remote repository.
     * @param indexUpdateUrl the alternate location of the remote repository indexes (if they are not in default place).
     * @param indexers the set of indexers to apply to this context.
     * @return
     * @throws IOException in case of some serious IO problem.
     * @throws IllegalArgumentException in case the supplied list of IndexCreators are not satisfiable
     * @deprecated Use {@link Indexer} instead.
     */
    @Deprecated
    IndexingContext addIndexingContextForced(
            String id,
            String repositoryId,
            File repository,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



