Simon,

The delta property is extensible so you could pass a class to do what you
desire (you could wrap a conditional around the delta operation).

See http://github.com/dpickett/workling_delta_indexer/tree/master for an
example of using a custom delta handler.

Regards,
Dan

On Thu, May 14, 2009 at 8:41 AM, Simon <simon.wilkin...@gmail.com> wrote:

>
> Hi,
>
> I have a situation where I have lots of users concurrently creating/
> updating entries that I have indexed.  I think I can get away with
> just running ts:index once an hour or so to get relatively up to date
> results.  My issue is that users also have the option to lock entries,
> at which point they should not be returned by search results.  If I
> have delta indexing enabled, this works perfectly, however it also
> really impacts the overall system performance, since the delta
> indexing is also triggered for any other new/modify operation.
>
> What I would like to do is to be able to only trigger a delta index
> when an entry is locked, and not when any other create/modify
> operation is done.  Is there a way to achieve this?  The only other
> option I can think of is to trigger a full index task when an entry is
> locked, in addition to what I have scheduled in a cron job.
>
> I have also noticed that the UI hangs when an entry is created/
> modified, as the delta indexing is being done.  Is there a way to push
> this to a background or asynchronous process so that it doesn't
> interfere with the UI rendering?
>
> Thanks,
>
> Simon
> >
>


-- 
=========================
Dan Pickett
Principal
Enlight Solutions, Inc
http://EnlightSolutions.com

http://www.twitter.com/dpickett

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to thinking-sphinx@googlegroups.com
To unsubscribe from this group, send email to 
thinking-sphinx+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to