![]() |
![]() |
![]() |
Dee Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
DeeHashIndexDeeHashIndex — A DeeHashIndex implementation doing lookups in a hash map |
#include <dee.h> struct DeeHashIndex; struct DeeHashIndexClass; DeeHashIndex * dee_hash_index_new (DeeModel *model
,DeeAnalyzer *analyzer
,DeeModelReader *reader
);
DeeHashIndex is an implementation of DeeHashIndex which is backed
by a hashmap. This means that it only supports the DEE_TERM_MATCH_EXACT
flag in dee_hash_index_lookup()
.
struct DeeHashIndex;
All fields in the DeeHashIndex structure are private and should never be accessed directly
DeeHashIndex * dee_hash_index_new (DeeModel *model
,DeeAnalyzer *analyzer
,DeeModelReader *reader
);
Create a new hash index.
|
The model to index |
|
The DeeAnalyzer used to tokenize and filter the terms extracted
by reader
|
|
The DeeModelReader used to extract terms from the model |
Returns : |
A newly allocated hash index. Free with g_object_unref() . |