I’ve tried reproducing this in an app, no luck :|

Just confirming that there is a name instance method on your Product model?

— 
Pat

On 11 Nov 2014, at 12:29 pm, Jeanine <[email protected]> wrote:

> I am using version 3.1.2 and Sphinx version 2.2.5. I can see "name_sort" in 
> the configuration file, but still get the error.  You're not seeing anything 
> wrong with my syntax in my index definition?
> 
> # config/development.sphinx.conf
> indexer
> {
> }
> 
> searchd
> {
>   listen = 127.0.0.1:9306:mysql41
>   log = /Users/jeanine/Sites/igb/log/development.searchd.log
>   query_log = /Users/jeanine/Sites/igb/log/searchd.query.log
>   pid_file = /Users/jeanine/Sites/igb/log/development.sphinx.pid
>   max_matches = 10000
>   workers = threads
>   binlog_path = /Users/jeanine/Sites/igb/tmp/binlog/development
> }
> 
> index product_core
> {
>   type = rt
>   path = /Users/jeanine/Sites/igb/db/sphinx/development/product_core
>   docinfo = extern
>   charset_type = utf-8
>   min_infix_len = 4
>   rt_field = sphinx_internal_class_name
>   rt_field = name
>   rt_attr_uint = sphinx_internal_id
>   rt_attr_uint = sphinx_deleted
>   rt_attr_timestamp = created_at
>   rt_attr_timestamp = updated_at
>   rt_attr_string = sphinx_internal_class
>   rt_attr_string = name_sort
>   rt_attr_string = abbreviation
>   rt_attr_string = discipline_name
> }
> 
> index product
> {
>   type = distributed
>   local = product_core
> }
> 
> 
> -- 
> 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/d/optout.

-- 
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/d/optout.

Reply via email to