Hello Chris, Chris Mulligan wrote: > I thought I should follow up on this ticket. > > I've implemented something fairly similar to the Alec's Advanced > Search suggestion - each component listens to its own ChangeListeners > and indexes the documents at that time. I've only implemented the wiki > and ticket systems so far, but that's because I just recently became > comfortable with the approach I'm using.
Any visible code somewhere? Also, for the changeset and source indexing, I'd suggest that you "wait" for the changeset notification system that will be implemented on the multirepos branch, instead of hacking the commit hook or the current sync method directly (see http://trac.edgewall.org/changeset/7961 and #7723). > Right now it (re)creates the full index when you run "trac-admin env > upgrade," or duing the intial setup. A dedicated trac-admin command should be better - search resync / sync (similar to repository resync / sync, in the multirepos branch, see above changeset and http://trac.edgewall.org/changeset/7965). > I'm doing my testing on a copy of a real internal trac install of ~600 > wiki page; 1700 ticket. I indexed a on a vmware workstation running on > my desktop in about 4 minutes, but I haven't considered performance at > all yet and it was CPU limited. The index is 5.1MB (sqlite db is > 69MB), so disk space is basically not an issue. Great! > I think by using straight SQL for that, instead of moving around > Ticket and Wiki objects will yield significantly superior performance. > I haven't noticed a change in commit times when changing pages/tickets. That might be different for repository source file indexing, though. We'll see. -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" 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/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
