Sha256: 8bf0984686903b5a30a9c474492c25c8aa2813ef643f159f85a4dc1552c6d0f4

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

module Redwood

class SearchResultsMode < ThreadIndexMode
  def initialize qobj
    @qobj = qobj
    super [], { :qobj => @qobj, :load_killed => true, :load_spam => false }
  end

  ## a proper is_relevant? method requires some way of asking ferret
  ## if an in-memory object satisfies a query. i'm not sure how to do
  ## that yet. in the worst case i can make an in-memory index, add
  ## the message, and search against it to see if i have > 0 results,
  ## but that seems pretty insane.

end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sup-0.1 lib/sup/modes/search-results-mode.rb