class Fedora::GenericSearch

def gfind_objects(params)

def gfind_objects(params)
  # Sample: /fedoragsearch/rest?operation=gfindObjects&query=test&hitPageSize=10&restXslt=copyXml
  # fieldMaxLength limits the number of characters returned from the value of each object field.
  # Snippets will highlight matched words within the search results.  To keep the xml as simple as possible, set snippetsMax to 0.
  query = {:query=>URLEncoder.encode(query, "UTF-8"),:value=>value,:indexName=>indexname,:hitPageStart=>"",:hitPageSize=>"",:snippetsMax=>"0",:fieldMaxLength=>"",:restXslt=>"copyXML",:resultPageXslt=>""}.merge(params)
  query.merge {:operation> "gfindObjects"}
  @client.get(@uri, query, @extheader)
  return "gfind_objects Not Implemented."
end