Method: Esearch::Presenter::Hit#fields

Defined in:
lib/esearch/presenter/hit.rb

#fieldsHash?

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return fields if present

Returns:

  • (Hash)

    if present

  • (nil)

    otherwise



33
34
35
# File 'lib/esearch/presenter/hit.rb', line 33

def fields
  raw['fields']
end