Class: Couchbase::Cluster::SearchRowLocation
- Inherits:
-
Object
- Object
- Couchbase::Cluster::SearchRowLocation
- Defined in:
- lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb more...
Instance Attribute Summary collapse
-
#array_positions ⇒ Array<Integer>
The positions of the term within any elements.
-
#end_offset ⇒ Integer
End byte offset of the term in the field.
- #field ⇒ String
-
#position ⇒ Integer
The position of the term within the field, starting at 1.
-
#start_offset ⇒ Integer
Start byte offset of the term in the field.
- #term ⇒ String
Instance Attribute Details
#array_positions ⇒ Array<Integer>
Returns the positions of the term within any elements.
1226 1227 1228 |
# File 'lib/couchbase/search_options.rb', line 1226 def array_positions @array_positions end |
#end_offset ⇒ Integer
Returns end byte offset of the term in the field.
1223 1224 1225 |
# File 'lib/couchbase/search_options.rb', line 1223 def end_offset @end_offset end |
#field ⇒ String
1211 1212 1213 |
# File 'lib/couchbase/search_options.rb', line 1211 def field @field end |
#position ⇒ Integer
Returns the position of the term within the field, starting at 1.
1217 1218 1219 |
# File 'lib/couchbase/search_options.rb', line 1217 def position @position end |
#start_offset ⇒ Integer
Returns start byte offset of the term in the field.
1220 1221 1222 |
# File 'lib/couchbase/search_options.rb', line 1220 def start_offset @start_offset end |
#term ⇒ String
1214 1215 1216 |
# File 'lib/couchbase/search_options.rb', line 1214 def term @term end |