lib/mongoid/elasticsearch/es.rb in mongoid-elasticsearch-0.3.4 vs lib/mongoid/elasticsearch/es.rb in mongoid-elasticsearch-0.3.5
- old
+ new
@@ -66,10 +66,9 @@
field: field
}
}
}
results = client.suggest(index: index.name, body: body)
- p results
results['q'][0]['options']
end
end
end
end