DeeHashIndex

DeeHashIndex — A DeeHashIndex implementation doing lookups in a hash map

Synopsis

#include <dee.h>

struct              DeeHashIndex;
struct              DeeHashIndexClass;
DeeHashIndex *         dee_hash_index_new               (DeeModel *model,
                                                         DeeAnalyzer *analyzer);
                    DeeHashIndexPrivate;

Object Hierarchy

  GObject
   +----DeeIndex
         +----DeeHashIndex

Description

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().

Details

struct DeeHashIndex

struct DeeHashIndex;

All fields in the DeeHashIndex structure are private and should never be accessed directly


struct DeeHashIndexClass

struct DeeHashIndexClass {
  DeeIndexClass     parent_class;
};


dee_hash_index_new ()

DeeHashIndex *         dee_hash_index_new               (DeeModel *model,
                                                         DeeAnalyzer *analyzer);

Create a new hash index.

model :

The mode to index

analyzer :

The analyzer used to extract terms from the model

Returns :

A newly allocated hash index. Free with g_object_free().

DeeHashIndexPrivate

typedef struct _DeeHashIndexPrivate DeeHashIndexPrivate;