Class | Redwood::BaseIndex |
In: |
lib/sup/index.rb
|
Parent: | Object |
Yields a message-id and message-building lambda for each message that matches the given query, in descending date order. You should probably not call this on a block that doesn‘t break rather quickly because the results can be very large.
yield all messages in the thread containing ‘m’ by repeatedly querying the index. yields pairs of message ids and message-building lambdas, so that building an unwanted message can be skipped in the block if desired.
only two options, :limit and :skip_killed. if :skip_killed is true, stops loading any thread if a message with a :killed flag is found.
Given an array of email addresses, return an array of Person objects that have sent mail to or received mail from any of the given addresses.
parse a query string from the user. returns a query object that can be passed to any index method with a ‘query’ argument.
raises a ParseError if something went wrong.