Class: Woods::Retrieval::SearchExecutor::Candidate

Inherits:
Struct
  • Object
show all
Defined in:
lib/woods/retrieval/search_executor.rb

Overview

A single search candidate with provenance tracking.

Instance Attribute Summary collapse

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier

Returns:

  • (Object)

    the current value of identifier



29
30
31
# File 'lib/woods/retrieval/search_executor.rb', line 29

def identifier
  @identifier
end

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



29
30
31
# File 'lib/woods/retrieval/search_executor.rb', line 29

def 
  @metadata
end

#scoreObject

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



29
30
31
# File 'lib/woods/retrieval/search_executor.rb', line 29

def score
  @score
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



29
30
31
# File 'lib/woods/retrieval/search_executor.rb', line 29

def source
  @source
end