Open asmith20002 opened 1 year ago
Tested on Sphinx 3.6.1
sql_attr_uint is deprecated. attr_uint must be used. Also it should be placed inside index block. Something like this:
sql_attr_uint
attr_uint
index
index smf_base_index { html_strip = 1 source = smf_source #path = /some/path min_word_len = 2 charset_table = 0..9, A..Z->a..z, _, a..z field = body, subject attr_uint = id_topic attr_uint = id_board attr_uint = id_member attr_uint = poster_time attr_uint = relevance attr_uint = num_replies }
Another warning regarding explicit paths:
WARNING: datadir: explicit index 'path' is deprecated; please convert your config to use 'datadir' directive
I just commented paths and used the default datadir to fix it:
common { datadir = ./sphinxdata }
Take a look at #32, it should cleanup the config file warnings with 3.6. SphinxSearch is very hard to read documentation on so this took a little trial and error to get it.
Tested on Sphinx 3.6.1
sql_attr_uint
is deprecated.attr_uint
must be used. Also it should be placed insideindex
block. Something like this:Another warning regarding explicit paths:
I just commented paths and used the default datadir to fix it: