Hello everyone,

I'm having a problem with delta indexing both on production and development.

First a bit about my development environment:

* OS X Mavericks with latest patches
* MySQL 5.6.15 and Sphinx 2.1.3 installed with Homebrew
* Rails application version 3.2.12
* ThinkingSphinx gem version 3.0.5
* Using pow for the web/application server

My model index is pretty simple:

ThinkingSphinx::Index.define :page, :with => :active_record do
  indexes :title, :sortable => true
  indexes :body
  indexes :status, :sortable => true
  indexes user(:email), :as => :author, :sortable => true

  has :id, :as => :page_id
  has :updated_at
  has :publish_at
  has :user_id

  set_property :field_weights => {
      :title => 10,
      :excerpt => 8,
      :body => 3
  }

  set_property :delta => true
end

When I create a record through the web application and try to trigger a 
search the newly created record doesn't appear (even after minutes of 
waiting). I have to manually run a rebuild or a reindex in order for this 
to show up.

When I create a new record, I don't see anything in the Sphinx log about 
delta indexing running.

If I look at the last record that was created (using ActiveRecord) I do see 
that it has a delta attribute and that attribute is true.

When I look at the development.sphinx.conf file (that I regenerated) I 
don't see anything about delta indexes for the page model.

One more thing, I'm not using delayed deltas or timestamp deltas.

Any help would be greatly appreciated.

Cheers,

Carlos



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