DeeHashIndex

DeeHashIndex — A DeeHashIndex implementation doing lookups in a hash map

Synopsis

#include <dee.h>

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

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

DeeHashIndexClass

typedef struct {
  DeeIndexClass     parent_class;
} DeeHashIndexClass;


DeeHashIndex

typedef struct _DeeHashIndex DeeHashIndex;

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


DeeHashIndexPrivate

typedef struct _DeeHashIndexPrivate DeeHashIndexPrivate;


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