Ticket #385 (assigned enhancement)

Opened 2 years ago

Last modified 1 year ago

Automatically launching a re-index or brute force search from browser resquests needs to be configurable

Reported by: patrickm Assigned to: athomas (accepted)
Priority: normal Component: RepoSearchPlugin
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

In brief, being able to turnoff the auto-index behaviour for large and busy repositores would allow the post-commit script to handle the re-index, or a nightly task.

The update-index.py script is perfectly serviceable, and admins should have the option of only re-indexing using processes under their control, such as a cron job or Sheduled Task, to avoid a very large re-index from impacting apache's performance and stability.

A large re-index can blow the 2Gb address space, and thus never completes, which means once a repository has failed to index, it can never catch up. Being able to tune the re-index operations to ensure they succeed regularly would help mitigate this risk.

Tested against Trac and latest ReposSearchPlugin? 0.10dev

Attachments

Change History

05/24/06 23:50:51 changed by athomas

  • status changed from new to assigned.

I agree. I'll add a configuration option for this soon.

05/25/06 03:25:58 changed by anonymous

That's great.

I have some more suggestions in the configuration front, but I'll raise a separate ticket, as they might be a little too cheeky.

01/18/07 07:33:00 changed by athomas

(In [1881]) Not for the faint of heart, but if anybody wants to test the pyndexter branch it would be most useful to get some feedback.

You will need the refactoring branch of pyndexter, available from here.

More info in the README.

References #362, #371, #385 and #388.


Add/Change #385 (Automatically launching a re-index or brute force search from browser resquests needs to be configurable)




Change Properties
Action