Interface ArtifactIndexingService
- All Known Implementing Classes:
ArtifactIndexingServiceImpl
public interface ArtifactIndexingService
A simple indexing and search service.
- Author:
- mtodorov
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToIndex
(String repositoryId, File artifactFile, String groupId, String artifactId, String version, String extension, String classifier) boolean
contains
(SearchRequest searchRequest) void
deleteFromIndex
(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:
IOException
org.apache.lucene.queryparser.classic.ParseException
-
contains
boolean contains(SearchRequest searchRequest) throws IOException, org.apache.lucene.queryparser.classic.ParseException - Throws:
IOException
org.apache.lucene.queryparser.classic.ParseException
-