Exemple #1
0
Compiler*
NOTQuery_make_compiler(NOTQuery *self, Searcher *searcher, float boost,
                       bool subordinate) {
    NOTCompiler *compiler = NOTCompiler_new(self, searcher, boost);
    if (!subordinate) {
        NOTCompiler_Normalize(compiler);
    }
    return (Compiler*)compiler;
}
Compiler*
NOTQuery_make_compiler(NOTQuery *self, Searchable *searchable, float boost)
{
    return (Compiler*)NOTCompiler_new(self, searchable, boost);
}