Class: Couchbase::Cluster::SearchRowLocation

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb
more...

Instance Attribute Summary collapse

Instance Attribute Details

#array_positionsArray<Integer>

Returns the positions of the term within any elements.

Returns:

  • (Array<Integer>)

    the positions of the term within any elements.


1310
1311
1312
# File 'lib/couchbase/search_options.rb', line 1310

def array_positions
  @array_positions
end

#end_offsetInteger

Returns end byte offset of the term in the field.

Returns:

  • (Integer)

    end byte offset of the term in the field


1307
1308
1309
# File 'lib/couchbase/search_options.rb', line 1307

def end_offset
  @end_offset
end

#fieldString

Returns:

  • (String)

1295
1296
1297
# File 'lib/couchbase/search_options.rb', line 1295

def field
  @field
end

#positionInteger

Returns the position of the term within the field, starting at 1.

Returns:

  • (Integer)

    the position of the term within the field, starting at 1


1301
1302
1303
# File 'lib/couchbase/search_options.rb', line 1301

def position
  @position
end

#start_offsetInteger

Returns start byte offset of the term in the field.

Returns:

  • (Integer)

    start byte offset of the term in the field


1304
1305
1306
# File 'lib/couchbase/search_options.rb', line 1304

def start_offset
  @start_offset
end

#termString

Returns:

  • (String)

1298
1299
1300
# File 'lib/couchbase/search_options.rb', line 1298

def term
  @term
end