Class: Couchbase::Cluster::SearchRowLocation

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/search_options.rb

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.


1246
1247
1248
# File 'lib/couchbase/search_options.rb', line 1246

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


1243
1244
1245
# File 'lib/couchbase/search_options.rb', line 1243

def end_offset
  @end_offset
end

#fieldString

Returns:

  • (String)

1231
1232
1233
# File 'lib/couchbase/search_options.rb', line 1231

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


1237
1238
1239
# File 'lib/couchbase/search_options.rb', line 1237

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


1240
1241
1242
# File 'lib/couchbase/search_options.rb', line 1240

def start_offset
  @start_offset
end

#termString

Returns:

  • (String)

1234
1235
1236
# File 'lib/couchbase/search_options.rb', line 1234

def term
  @term
end