Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sphinx config file issues #31

Open
asmith20002 opened this issue Oct 17, 2023 · 1 comment · May be fixed by #32
Open

Sphinx config file issues #31

asmith20002 opened this issue Oct 17, 2023 · 1 comment · May be fixed by #32

Comments

@asmith20002
Copy link

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:

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
}
@jdarwood007 jdarwood007 linked a pull request Oct 23, 2023 that will close this issue
@jdarwood007
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants