TreeIndex


Description:

[ CCode ( has_construct_function = false ) ]
public TreeIndex (Model model, Analyzer analyzer, ModelReader reader)

Create a new tree index.

Parameters:

model

The model to index

analyzer

The Analyzer used to tokenize and filter the terms extracted by reader

reader

The ModelReader used to extract terms from the model

Returns:

A newly allocated tree index. Free with unref.