Skip to content

Sphinx config file issues #31

Description

@asmith20002

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
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions