Hi Elad

The ts:in:delta task is only for datetime deltas, and you're using the  
default approach instead, so you don't need to run that.

When you create a new status update in console, do you also see  
several lines from the Sphinx indexer task being output?

-- 
Pat

On 21/05/2009, at 7:52 AM, Elad Meidar wrote:

>
> i have sphinx 0.9.8.1 installed and for some reason, it refuses to
> take deltas into consideration when searching, until i re-index
>
> here is an example for the console:
>
> #<StatusUpdate id: 31109, content: "Microsoft just patented
> extortion", author: "xxxx", source_id: "1", direct_link: "hxxxx", uid:
> "234234233", created_at: "2009-05-21 14:14:55", updated_at:
> "2009-05-21 14:14:55", handler: "t", posted_at: "1242915290", delta:
> true>
>
> but searching for "microsoft":
>
> StatusUpdate.search("@content microsoft", :per_page =>
> 1000, :match_mode => :extended)
>
> does not return this result.
>
> here is my index:
>
>  define_index do
>    indexes content, :sortable => true
>    has posted_at, handler, author
>
>    has users(:id), :as => :user_ids
>    set_property :delta => true # for stuff that are added between
> indexing
>  end
>
>
>
> another thing is that when i 'ts:in:delta', nothing seem to be
> happening, the delta flag stays as it should on new records, but they
> still don't appear in search (actually the rake task does not even
> return any output).
>
>
>
>
> >


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

Reply via email to