Repository navigation
RDoc-4136 + RDoc-2561 Exploration queries - #2726
Open
Danielle9897 wants to merge 2 commits into
Open
Danielle9897 wants to merge 2 commits into
Danielle9897 wants to merge 2 commits into
Conversation
Danielle9897
requested review from
LielNagar,
M4xymm,
maciejaszyk and
poissoncorp
November 3, 2026 16:29
LielNagar
reviewed
Nov 4, 2026
Comment on lines
+1500
to
+1501
| #### Negating the entire condition | ||
|
|
There was a problem hiding this comment.
add the reference:
The Java filter API handles this automatically. See Java filter API.
Again as said I didnt check the syntax of the documentation references
| * Calling `search()` on the query adds a `where search(...)` condition; it does not add a filter condition. | ||
|
|
||
| * Calling `filter` more than once combines the conditions with `and`. | ||
|
|
There was a problem hiding this comment.
Add this not API behavior:
* Starting the condition with `not()` is handled by the client, so the RQL pitfall
described in [Negating the entire condition](#negating-the-entire-condition) does not apply.
The generated RQL depends on what follows `not()`:
| Java | Generated RQL |
|--------------------------------------------------------|-------------------------------------------------|
| `f.not().equals("Address.Country", "USA")` | `filter Address.Country != $p0` |
| `f.not().greaterThan("PricePerUnit", 10)` | `filter exists(PricePerUnit) and not PricePerUnit > $p0` |
| `f.not().openSubclause() ... .closeSubclause()` | `filter true and not (...)` |
Note that the exists(...) form excludes documents that don't have the field.
There is documentation references which I havent checked the syntax (Negating the entire.....)
|
|
||
| <ContentFrame> | ||
|
|
||
| ### Query and DocumentQuery {/* #documentquery-asyncdocumentquery-and-group-by-queries */} |
There was a problem hiding this comment.
java has no async API, drop asyncdocumentquery please.
M4xymm
approved these changes
Nov 5, 2026
LielNagar
approved these changes
Nov 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue links
https://issues.ravendb.net/issue/RDoc-2651/Indexes-Querying-Exploration-queries-Fix-article
https://issues.ravendb.net/issue/RDoc-4136/Per-feature-reorganization-Exploration-queries
Additional description
Querying > Filtering Query Results > Exploration QueriesC#
@maciejaszyk pls review
docs/querying/filtering-query-results/content/_exploration-queries-csharp.mdxPython
@poissoncorp pls review
docs/querying/filtering-query-results/content/_exploration-queries-python.mdxPHP
@M4xymm pls review
docs/querying/filtering-query-results/content/_exploration-queries-php.mdxNode.js
@M4xymm pls review
docs/querying/filtering-query-results/content/_exploration-queries-nodejs.mdxJava
@LielNagar pls review
docs/querying/filtering-query-results/content/_exploration-queries-java.mdxType of change
/templatesor readme)Changes in docs URLs
/scripts/redirects.jsonfile, setDocuments MovedPR label)Changes in UX/UI