public class VLADIndexer<DATA extends ImageProvider<MBFImage>,METADATA extends Identifiable> extends Object implements IncrementalIndexer<DATA,ImageSearchResult<METADATA>,ImageProvider<MBFImage>>
Constructor and Description |
---|
VLADIndexer(VLADIndexerData indexerData,
IncrementalMetaIndex<DATA,METADATA> metaStore) |
Modifier and Type | Method and Description |
---|---|
void |
indexImage(DATA image) |
List<ImageSearchResult<METADATA>> |
search(ImageProvider<MBFImage> query)
Search with the given query and return a ranked list of matching
documents.
|
public VLADIndexer(VLADIndexerData indexerData, IncrementalMetaIndex<DATA,METADATA> metaStore)
public void indexImage(DATA image)
indexImage
in interface IncrementalIndexer<DATA extends ImageProvider<MBFImage>,ImageSearchResult<METADATA extends Identifiable>,ImageProvider<MBFImage>>
public List<ImageSearchResult<METADATA>> search(ImageProvider<MBFImage> query)
RetrievalEngine
search
in interface RetrievalEngine<ImageSearchResult<METADATA extends Identifiable>,ImageProvider<MBFImage>>
query
- the query