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