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

ERROR: unknown key name 'chinese_dictionary' #16

Open
GoogleCodeExporter opened this issue Nov 5, 2015 · 2 comments
Open

ERROR: unknown key name 'chinese_dictionary' #16

GoogleCodeExporter opened this issue Nov 5, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

# pwd
/usr/local/sphinxcn

# ./bin/mkdict /root/Downloads/sphinx/xdict_1.1.txt etc/xdict

# vi etc/sphinx.conf
source src1
{
 ......
 ......
 chinese_dictionary      = /usr/local/sphinxcn/etc/xdict
}

# ./bin/indexer --all
sphinx-for-chinese 2.1.0-dev (r3361)
Copyright (c) 2008-2012, sphinx-search.com

using config file '/usr/local/sphinxcn/etc/sphinx.conf'...
ERROR: unknown key name 'chinese_dictionary' in 
/usr/local/sphinxcn/etc/sphinx.conf line 24 col 20.
FATAL: failed to parse config file '/usr/local/sphinxcn/etc/sphinx.conf'

Original issue reported on code.google.com by [email protected] on 2 Nov 2012 at 9:20

@GoogleCodeExporter
Copy link
Author

Oh, sorry. Should be in index block.

Original comment by [email protected] on 18 Nov 2012 at 6:18

@GoogleCodeExporter
Copy link
Author

index w596_vfull_index
{
    source          = w596_vfull_src
    path            = /usr/local/var/data/w596_vfull_index

    chinese_dictionary = /usr/local/sphinx-for-chinese/etc/xdict
    charset_type     = utf-8
}

但是
$ indexer -c sphinx-w596.conf --all
using config file 'sphinx-w596.conf'...
ERROR: unknown key name 'chinese_dictionary' in sphinx-w596.conf line 67 col 23.
FATAL: failed to parse config file 'sphinx-w596.conf'




Original comment by [email protected] on 30 Dec 2014 at 6:49

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

No branches or pull requests

1 participant