@Service @Validated public class IndexingService extends Object
Constructor and Description |
---|
IndexingService(ESClient esClient) |
Modifier and Type | Method and Description |
---|---|
void |
indexDocument(IndexingDTO dto)
Creates index for given document.
|
void |
unindexDocument(ESDocumentIdentifierDTO dto)
Deletes index for given document.
|
@Autowired public IndexingService(ESClient esClient)
public void indexDocument(IndexingDTO dto)
dto
- holds the document to index, as well as the information about
the index and it's typepublic void unindexDocument(ESDocumentIdentifierDTO dto)
dto
- holds the document to delete it's index, as well as
information about the index and it's typeCopyright © 2020. All rights reserved.