Searched defs:score (Results 1 - 6 of 6) sorted by relevance

/dovecot/src/plugins/fts/
H A Dfts-api.h52 float score; member in struct:fts_score_map
H A Dfts-search.c73 struct fts_score_map *score; local
86 score = array_append_space(&level->score_map);
87 score->uid = vuids[i];
88 score->score = scores[i].score;
246 if (dest_map[desti].score < src_map[srci].score)
247 dest_map[desti].score = src_map[srci].score;
[all...]
H A Dfts-storage.c68 char score[30]; member in struct:fts_mail
404 static int fts_score_cmp(const uint32_t *uid, const struct fts_score_map *score) argument
406 return *uid < score->uid ? -1 :
407 (*uid > score->uid ? 1 : 0);
426 (void)i_snprintf(fmail->score, sizeof(fmail->score),
427 "%f", scores->score);
429 *value_r = fmail->score;
/dovecot/src/imap/
H A Dimap-search.c291 FIXME: would be a good idea to try to detect non-linear score
381 float score; local
384 score = 0;
386 score = strtod(str, NULL);
387 array_append(&ctx->relevancy_scores, &score, 1);
388 if (ctx->min_relevancy > score)
389 ctx->min_relevancy = score;
390 if (ctx->max_relevancy < score)
391 ctx->max_relevancy = score;
/dovecot/src/plugins/fts-solr/
H A Dsolr-connection.c41 float score; member in struct:solr_lookup_xml_context
207 ctx->score = 0;
217 else if (strcmp(name_attr, "score") == 0)
256 struct fts_score_map *score; local
284 } else if (ctx->score != 0) {
285 score = array_append_space(&result->scores);
286 score->uid = ctx->uid;
287 score->score = ctx->score;
[all...]
/dovecot/src/plugins/fts-lucene/
H A Dlucene-wrapper.cc1350 struct fts_score_map *score; local
1383 score = array_append_space(&result->scores);
1384 score->uid = uid;
1385 score->score = hits->score(i);
1459 struct fts_score_map *score; local
1514 score = array_append_space(&br->scores);
1515 score->uid = uid;
1516 score
[all...]

Completed in 29 milliseconds