Here's what I've done in a test app:
# config/thinking_sphinx.yml
development:
charset_type: 'utf-8'
charset_table: "0..9, A..Z->a..z, _, -, a..z"
mem_limit: 1024M
morphology: none
Run `rake ts:index`
# config/development.sphinx.conf
indexer
{
mem_limit = 1024M
}
# ...
index article_core
{
type = plain
path =
/Users/pat/Code/flying-sphinx/test-app/db/sphinx/development/article_core
docinfo = extern
morphology = none
charset_type = utf-8
charset_table = 0..9, A..Z->a..z, _, -, a..z
source = article_core_0
}
--
Pat
On 29/07/2013, at 2:50 PM, [email protected] wrote:
> I config it under below in thinking_sphinx.yml file:
>
>
> development:
> morphology: none
> bin_path: "/usr/bin/"
> mem_limit: 1024M
> charset_type: utf-8
> charset_table: "0..9, A..Z->a..z, _, -, a..z"
>
> then I ran rake ts:index, but there''s no such config in
> development.sphinx.conf file. How can I config, where and how?
> Thanks!
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.