public
Description: Ambition adapter for Sphinx
Clone URL: git://github.com/technicalpickles/ambitious-sphinx.git
100644 40 lines (34 sloc) 0.967 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module Ambition #:nodoc:
  module Adapters #:nodoc:
    module AmbitiousSphinx #:nodoc:
      # Allows you to sort queries by particular fields.
      # It is unsure how well this is supported by Ultrasphinx.
      class Sort < Base
        # Not implemented yet.
        def sort_by(method)
          raise "Not implemented yet."
        end
 
        # Not implemented yet.
        def reverse_sort_by(method)
          raise "Not implemented yet."
        end
 
        # Not implemented yet.
        def chained_sort_by(receiver, method)
          raise "Not implemented yet."
        end
 
        # Not implemented yet.
        def chained_reverse_sort_by(receiver, method)
          raise "Not implemented yet."
        end
 
        # Not implemented yet.
        def to_proc(symbol)
          raise "Not implemented yet."
        end
 
        # Not implemented yet.
        def rand
          raise "Not implemented yet."
        end
      end
    end
  end
end