Interface ArtifactIndexingService
- All Known Implementing Classes:
ArtifactIndexingServiceImpl
public interface ArtifactIndexingService
A simple indexing and search service.
- Author:
- mtodorov
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddToIndex(String repositoryId, File artifactFile, String groupId, String artifactId, String version, String extension, String classifier) booleancontains(SearchRequest searchRequest) voiddeleteFromIndex(String repositoryId, String groupId, String artifactId, String version, String extension, String classifier) search(SearchRequest searchRequest)
-
Method Details
-
addToIndex
void addToIndex(String repositoryId, File artifactFile, String groupId, String artifactId, String version, String extension, String classifier) throws IOException - Throws:
IOException
-
deleteFromIndex
void deleteFromIndex(String repositoryId, String groupId, String artifactId, String version, String extension, String classifier) throws IOException - Throws:
IOException
-
search
SearchResults search(SearchRequest searchRequest) throws IOException, org.apache.lucene.queryparser.classic.ParseException - Throws:
IOExceptionorg.apache.lucene.queryparser.classic.ParseException
-
contains
boolean contains(SearchRequest searchRequest) throws IOException, org.apache.lucene.queryparser.classic.ParseException - Throws:
IOExceptionorg.apache.lucene.queryparser.classic.ParseException
-