Home
last modified time | relevance | path

Searched refs:ftWeight (Results 1 – 18 of 18) sorted by relevance

/dports/textproc/redisearch20/RediSearch-2.0.15/src/
H A Dfield_spec.h84 double ftWeight; member
H A Dinfo_command.c152 REPLY_KVNUM(nn, SPEC_WEIGHT_STR, fs->ftWeight); in IndexInfoCommand()
H A Dspec.c287 fs->ftWeight = d; in parseTextField()
1052 fs->ftWeight = 1.0; in IndexSpec_CreateField()
1124 f->ftWeight = RedisModule_LoadDouble(rdb); in FieldSpec_RdbLoadCompat8()
1141 RedisModule_SaveDouble(rdb, f->ftWeight); in FieldSpec_RdbSave()
1178 f->ftWeight = RedisModule_LoadDouble(rdb); in FieldSpec_RdbLoad()
H A Dredisearch_api.c139 fs->ftWeight = w; in RediSearch_TextFieldSetWeight()
H A Ddocument.c411 ForwardIndexTokenizerCtx_Init(&tokCtx, aCtx->fwIdx, c, curOffsetWriter, fs->ftId, fs->ftWeight); in FIELD_PREPROCESSOR()
/dports/textproc/redisearch16/RediSearch-1.6.16/src/
H A Dfield_spec.h83 double ftWeight; member
H A Dspec.c247 fs->ftWeight = d; in parseTextField()
956 fs->ftWeight = 1.0; in IndexSpec_CreateField()
1025 f->ftWeight = RedisModule_LoadDouble(rdb); in FieldSpec_RdbLoadCompat8()
1042 RedisModule_SaveDouble(rdb, f->ftWeight); in FieldSpec_RdbSave()
1079 f->ftWeight = RedisModule_LoadDouble(rdb); in FieldSpec_RdbLoad()
H A Dredisearch_api.c111 fs->ftWeight = w; in RediSearch_TextFieldSetWeight()
H A Ddocument.c398 ForwardIndexTokenizerCtx_Init(&tokCtx, aCtx->fwIdx, c, curOffsetWriter, fs->ftId, fs->ftWeight); in FIELD_PREPROCESSOR()
H A Dmodule.c159 REPLY_KVNUM(nn, SPEC_WEIGHT_STR, fs->ftWeight); in IndexInfoCommand()
/dports/textproc/redisearch/RediSearch-2.2.5/src/
H A Dfield_spec.h85 double ftWeight; member
H A Dinfo_command.c155 REPLY_KVNUM(nn, SPEC_WEIGHT_STR, fs->ftWeight); in IndexInfoCommand()
H A Dspec.c289 fs->ftWeight = d; in parseTextField()
1081 fs->ftWeight = 1.0; in IndexSpec_CreateField()
1160 f->ftWeight = LoadDouble_IOError(rdb, goto fail); in FieldSpec_RdbLoadCompat8()
1187 RedisModule_SaveDouble(rdb, f->ftWeight); in FieldSpec_RdbSave()
1227 f->ftWeight = LoadDouble_IOError(rdb, goto fail); in FieldSpec_RdbLoad()
H A Dredisearch_api.c141 fs->ftWeight = w; in RediSearch_TextFieldSetWeight()
H A Ddocument.c423 ForwardIndexTokenizerCtx_Init(&tokCtx, aCtx->fwIdx, c, curOffsetWriter, fs->ftId, fs->ftWeight); in FIELD_PREPROCESSOR()
/dports/textproc/redisearch20/RediSearch-2.0.15/tests/cpptests/
H A Dtest_cpp_index.cpp738 ASSERT_EQ(f->ftWeight, 2.0); in TEST_F()
747 ASSERT_TRUE(f->ftWeight == 0.1); in TEST_F()
756 ASSERT_TRUE(f->ftWeight == 1); in TEST_F()
774 ASSERT_TRUE(f->ftWeight == 1); in TEST_F()
/dports/textproc/redisearch16/RediSearch-1.6.16/src/cpptests/
H A Dt_index.cpp740 ASSERT_EQ(f->ftWeight, 2.0); in TEST_F()
749 ASSERT_TRUE(f->ftWeight == 0.1); in TEST_F()
758 ASSERT_TRUE(f->ftWeight == 1); in TEST_F()
776 ASSERT_TRUE(f->ftWeight == 1); in TEST_F()
/dports/textproc/redisearch/RediSearch-2.2.5/tests/cpptests/
H A Dtest_cpp_index.cpp744 ASSERT_EQ(f->ftWeight, 2.0); in TEST_F()
753 ASSERT_TRUE(f->ftWeight == 0.1); in TEST_F()
762 ASSERT_TRUE(f->ftWeight == 1); in TEST_F()
780 ASSERT_TRUE(f->ftWeight == 1); in TEST_F()