0

What is sql_field_str2wordcount?

I know it counts the number of words in a document in sphinx search.

Im running a ruby on rails app with thinking sphinx to connect to a sphinx search enables mysql database.

In which file I should set this value?
sql_field_str2wordcount.

Please, explain to me with example.

No proper documentation available for this in the whole world.

Thanks.

beck03076
  • 3,268
  • 2
  • 27
  • 37
  • Really? The top hit when searching Google for "sql_field_str2wordcount" is [this page in the Sphinx documentation](http://sphinxsearch.com/docs/1.10/conf-sql-field-str2wordcount.html). – eggyal Apr 24 '12 at 16:58
  • I checked it. Where do i put that line?.Check this question...http://stackoverflow.com/questions/10298542/sphinx-search-for-partial-keyword-matches – beck03076 Apr 24 '12 at 17:00
  • 1
    When I click "up", I'm taken to a page headed **Chapter 11. `sphinx.conf` options reference**. I therefore *imagine* (having never used Sphinx) that it goes into your `sphinx.conf` file. – eggyal Apr 24 '12 at 17:02
  • 1
    ThinkingSphinx generates the sphinx.conf files based on the config/sphinx.yml file when you run the ts:index rake task, so you should put your sphinx configuration stuff in that file instead. – MrTheWalrus May 17 '12 at 17:32

0 Answers0