Method: Ferret::Search::Spans::SpanNearQuery#hash
- Defined in:
- lib/ferret/search/spans/span_near_query.rb
#hash ⇒ Object
100 101 102 103 104 105 106 |
# File 'lib/ferret/search/spans/span_near_query.rb', line 100 def hash() result = @clauses.hash() result += @slop * 29 result += (@in_order ? 1 : 0) result ^= @field.hash() return result end |