Here's a test app I just put together which works for me. I'm using Sphinx 
2.0.8 as well: https://github.com/pat/ts_tester

On 29/07/2013, at 4:10 PM, [email protected] wrote:

> sorry, sphinx version is v2.0.8
> 
> 在 2013年7月29日星期一UTC+8下午1时50分11秒,[email protected]写道:
> oh ha?
> why mine can't?
> if there is something config I didn't config? Now I write my steps:
> 1、 wget  sphinx from sphinxsearch.org  release 3.0.8.deb
> 2、sudo dpkg -i sphin.deb
> 3、gem install thinking-sphinx(v 3.0.4)
> 
> After that, wrote index model, rake ts:index, Is there anything else?
> 
> 
> Thanks!
> 
> 在 2013年7月29日星期一UTC+8下午1时08分52秒,Pat Allan写道:
> 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.
>  
>  


-- 
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.


Reply via email to