You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
results=Doc.all()
# this only gets specified fields from resultset (query already done)result.get_values("id")
[123, 456, 789]
# This also sets "_source.fields" property of query to save memory returning only desired fieldspayload=Payload(Doc, query=Query.match_all())
payload.get_values("id")
[123, 456, 789]
The text was updated successfully, but these errors were encountered:
rochacbruno
changed the title
ResultSet, Payload and .search at all should return only values.
ResultSet return only values.
Jan 13, 2016
rochacbruno
changed the title
ResultSet return only values.
ResultSet & Payload return only values.
Jan 13, 2016
The text was updated successfully, but these errors were encountered: