RDoc-3779 + RDoc-3848 Control order of NULLs in query results#2454
Open
Danielle9897 wants to merge 4 commits into
Open
RDoc-3779 + RDoc-3848 Control order of NULLs in query results#2454Danielle9897 wants to merge 4 commits into
Danielle9897 wants to merge 4 commits into
Conversation
maciejaszyk
reviewed
May 25, 2026
| | **latitude** | `float` | The latitude of the point from which the distance is measured | | ||
| | **longitude** | `float` | The longitude of the point from which the distance is measured | | ||
| | **round_factor** (Optional) | `float` | A distance interval in kilometers.<br/>The distance from the point is rounded up to the nearest interval.<br/>The results within the same interval can be sorted by a secondary order.<br/>If no other order was specified, then by ascending order of document Id. | | ||
| | **round_factor** (Optional) | `float` | A distance interval in kilometers.<br/>The distance from the point is rounded up to the nearest interval.<br/>The results within the same interval can be sorted by a secondary order.<br/>If no other ordering was specified, results are ordered by document ID in ascending order. | |
Member
There was a problem hiding this comment.
results are ordered by document ID in ascending order.
this is not true. Most likely it will be internal document ID (the order of indexing), however there is no guarantee about it.
| </TabItem> | ||
| <TabItem value="RQL" label="RQL"> | ||
| ```sql | ||
| from "Orders" |
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 link
https://issues.hibernatingrhinos.com/issue/RDoc-3779/Corax-Configurable-order-of-NULLs-when-sorting
https://issues.hibernatingrhinos.com/issue/RDoc-3848/Corax-Control-order-of-NULLs-directly-in-query
https://issues.hibernatingrhinos.com/issue/RDoc-3858/Sort-query-results-Add-performance-notes-Metadata-example
Additional description
Updated articles:
docs/server/configuration/indexing-configuration.mdx)docs/querying/rql/what-is-rql.mdx)docs/querying/sorting-query-results/content/_sort-query-results-csharp.mdx)docs/client-api/session/querying/content/_how-to-make-a-spatial-query-csharp.mdx)OrderByDistance&OrderByDistanceDescending+ add an example (C# only)Type of change
/templatesor readme)Changes in docs URLs
/scripts/redirects.jsonfile, setDocuments MovedPR label)Changes in UX/UI