Pat,

Thanks. Will do.

Cheers,

Carlos

On Sunday, January 12, 2014 1:48:18 AM UTC-8, Pat Allan wrote:
>
> If you’d like to have a go at updating delta documentation, that’s fine by 
> me :)
>
> — 
> Pat
>
> On 9 Jan 2014, at 12:05 pm, [email protected] <javascript:> wrote:
>
> Pat, 
>
> That worked! Thank you very much.
>
> I noticed that the documentation on the ThinkingSphinx site is out of date 
> for delta indexing, is that something that you need help with?
>
> Cheers,
>
> Carlos
>
> On Tuesday, January 7, 2014 10:02:51 PM UTC-8, Pat Allan wrote:
>>
>> Hi Carlos
>>
>> Delta settings in TS v3 are now passed through as an option in the define 
>> call, not within the definition block:
>>
>>     ThinkingSphinx::Index.define :page, :with => :active_record, :delta 
>> => true do
>>       # …
>>     end
>>
>> Make that change and let me know how you go.
>>
>> — 
>> Pat
>>
>> On 8 Jan 2014, at 4:48 pm, [email protected] wrote:
>>
>> 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.
>>
>>
>>
> -- 
> 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] <javascript:>.
> To post to this group, send email to [email protected]<javascript:>
> .
> Visit this group at http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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