1


I use a sphinx as fulltext search engine, and ranker option is set to proximity.
How can I set as ranker this formula: proximity + count of words in somecolumn / hit_count?

I don't know, how can I get words count.
I've tried to add a column with count of words into the index, but somecolumn is a huge concate field, and I can't use this example, because it will be too slow query.

Community
  • 1
  • 1
Alexey Berezuev
  • 785
  • 9
  • 27

1 Answers1

1

index_field_lengths option is just what I needed.

Alexey Berezuev
  • 785
  • 9
  • 27