public interface BooleanDocumentSupportingAdapter extends CorpusAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
getDocumentsWithWords(com.carrotsearch.hppc.ObjectObjectOpenHashMap<String,com.carrotsearch.hppc.IntArrayList> wordDocMapping)
Determines the documents containing the words used as key in the given map.
|
void |
getDocumentsWithWordsAsSet(com.carrotsearch.hppc.ObjectObjectOpenHashMap<String,com.carrotsearch.hppc.IntOpenHashSet> wordDocMapping)
Determines the documents containing the words used as key in the given map.
|
int |
getNumberOfDocuments()
Returns the number of documents the corpus contains.
|
closevoid getDocumentsWithWordsAsSet(com.carrotsearch.hppc.ObjectObjectOpenHashMap<String,com.carrotsearch.hppc.IntOpenHashSet> wordDocMapping)
wordDocMapping - a mapping of words to documents in which the results are storedvoid getDocumentsWithWords(com.carrotsearch.hppc.ObjectObjectOpenHashMap<String,com.carrotsearch.hppc.IntArrayList> wordDocMapping)
wordDocMapping - a mapping of words to documents in which the results are storedint getNumberOfDocuments()
Copyright © 2014–2016. All rights reserved.