search for: define_index

Displaying 4 results from an estimated 4 matches for "define_index".

2010 Jan 17
0
some routes don't load in production
..., and my sign_in/sign_out links are disappearing-- but ONLY in "production" mode. In addition, any authentication-related before_filters in my controllers are being ignored, so authentication is silently failing. The offending code is in plogger_thinking_sphinx, where I''m adding define_index to my model as follows: require ''thinking_sphinx'' Article.send :define_index, &(lambda do indexes title indexes description indexes post has created_at set_property :delta => true end) This works fine in "development" mode. I also don''t see an...
2012 Jun 19
2
Thinking Sphinx Problem
Hi, I am using *Thinking Sphinx version 2.0.11 *in one of my project. To create an index I ran* **rake thinking_sphinx:index *and I got the following error Generating Configuration to /home/saidev/Ubuntu One/burgundy/ssearch/config/development.sphinx.conf rake aborted! At least one field is necessary for an index Tasks: TOP => thinking_sphinx:index (See full trace by running task with
2010 Jul 14
1
Sphinx search not indexing the new record
Hi, I have an application which is doing search using "sphnix" search. Everything is working fine but whenever user adding new record it is not able to index. For that I have to again reindex the all records. My user model is like this class User < ActiveRecord::Base define_index do indexes first_name indexes last_name indexes email end end Can anyone tell me how to solve this? Thanks, Tushar -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To pos...
2010 Dec 01
0
Thinking sphinx + rails 3 issue in results set
...:conditions => {:user_id => user.id, :game_id => gme.id, :date => dt}) end end has_and_belongs_to_many :interested_game, :class_name => ''Game'', :join_table => ''interested_game_users'', :order => ''name'' define_index do indexes login indexes email indexes admin indexes staff indexes game_attributes(:name), :as => :ga_name indexes game_attributes.value, :as => :ga_value indexes profile.gender, :as => :up_gender has :id, creat...