rezataroosheh commented on code in PR #13754:
URL: https://github.com/apache/ignite/pull/13754#discussion_r4386222201


##########
docs/_docs/key-value-api/using-cache-queries.adoc:
##########
@@ -126,6 +126,9 @@ delivers sorted cache entries by the order defined for 
queried index. `IndexQuer
 matches filtering criteria. For such cases, `ScanQuery` usage is not optimal: 
it firstly extracts all cache entries and
 then applies a filter to them. `IndexQuery` relies on index tree structure and 
filters most of the entries without extracting.
 
+`IndexQuery` returns deserialized cache values by default. To receive 
`BinaryObject` values when possible, execute the
+query through a cache obtained with `withKeepBinary()`.

Review Comment:
   Suggest mentioning keys too, since the IGNITE-29199 fix converts both keys 
and values, and link to the Binary Objects page as the ticket proposes:
   
   ```suggestion
   `IndexQuery` returns deserialized cache keys and values by default. To 
receive `BinaryObject` instances when possible,
   execute the query through a cache obtained with `withKeepBinary()`. See 
link:key-value-api/binary-objects[Binary Objects] for details.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to