I have gone through several posts here..but can't seem to understand
what might be happening in this case.
I am using the datatime gem based delta index approach. The delta
index rake task runs every 60 minutes.
I am using passenger with nginx. The nginx process runs as root
in nginx.conf file I have the user directive as
user www-data www-data;
My rails app is owned by user "deploy" in the group www-data.
I don't see any obvious permission problem in nginx error logs. I have
set the delta property appropriately I think.
define_index do
indexes :body
indexes :topic
indexes :status
indexes post_items.option, :as => :option
indexes category.name, :as => :category_name
indexes poster.city, :as => :city
indexes poster.state, :as => :state
indexes comments.body, :as => :comment_body
has created_at, updated_at
has category_id, user_id, :status
has "RADIANS(users.lat)", :as => :lat, :type => :float
has "RADIANS(users.lng)", :as => :lng, :type => :float
set_property :delta => :datetime, :threshold => 75.minutes
end
And the bin_path in sphinx.yml
mem_limit: 20M
enable_star: true
searchd_file_path: /var/www/myapp/shared/db/sphinx/prod
enable_star: true
query_log_file: /var/www/myapp/shared/log/searchd.query.log
config_file: /var/www/myapp/shared/config/prod_sphinx.conf
searchd_log_file: /var/www/myapp/shared/log/searchd.log
morphology: stem_en
pid_file: /var/www/myapp/shared/pids/searchd_production.pid
bin_path: '/usr/local/bin/'
Any ideas?
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.