I have some code from a day or so ago here with me at work. I've uploaded it to http://trac.edgewall.org/attachment/wiki/AdvancedSearch/. Unfortunately, I forgot to `svn add wiki/search.py ticket/search.py`, so they're not in the diff and it's missing a lot of the interesting code. I'll update it this evening with the current diff I have at home.
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). > Suits me just fine - I haven't implemented that yet in part because the current system seemed complicated and not ideal. Also missing are attachments. However I did implement a MilestoneChangeListener for milestones. 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've actually implemented both (a separate `search rebuild` command, as well as within `upgrade`). If you don't build the index initially then search will silently fail to return documents - a big downer. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
