From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Tue, 11 Aug 2009 13:14:44 -0700 Subject: [sup-talk] some internal api refactors Message-ID: <1250021119-sup-4253@masanjin.net> Hi Rich, and others, In the branch various-api-refactors I've made a couple significant genotypic changes to the index and polling API that I want to make sure are in line with your evil plans. Commit 8aa1370d in particular replaces Index.sync_message with three methods, one for adding new messages, one for updating existing messages, and one for just tweaking the labels. The current implementation just calls the original sync_message implementation for all three. The rest of the changes are tweaks in the various consumers of these messages. The intention is that this will be useful both for Xapian and Sup the server, which may need to distinguish between these three methods of index access (or may simply want to for speed). -- William