Good afternoon,

I've been working on this issue for the last 2 days and cannot solve it.

In my Rails console, when I run this simple query, I'm expecting results to 
be returned:

ThinkingSphinx.search "@org_unit_id 1", :classes => 
[RxBrand,ProviderServiceGroup]

Data exists in the MySQL tables.

Here's the index:

          define_index do

            indexes :name

            indexes :description

            indexes :extra_terms # bonus words for this drug, not otherwise 
visible

            indexes provider_service_codes.service_code, :as => 
:service_codes

            indexes provider_service_codes.common_description, :as => 
:service_code_description

            indexes org_unit_provider_service_groups.org_unit_id, :type => 
:string, :as => :org_unit_id


            where 'searchable = 1'

            set_property :group_concat_max_len => 65535


            # default field_weight is 1 for unmentioned fields. This is 
used when ranking search results

            set_property :field_weights => { :name => 2, :extra_terms => 10 
}

            set_property :delta => ThinkingSphinx::Deltas::ResqueDelta


            # explicit group by

            group_by 'name, description, extra_terms, org_unit_id'

          end


What could I be doing wrong?  Any help is appreciated.

Thanks,

Frank

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