Skip to content
Discussion options

You must be logged in to vote

Hey, thanks for test.
I'm not very familiar with NodaTime API but your problematic date (2024-10-10T10:10:11.554013Z) is not ISO 8601 format. https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings#Roundtrip

As @ayende said before, RavenDB is not aware about NodaTime format, thus your date is changed into standard string/term, rest of them are ISO compliant so will be changed into Ticks by indexing engine and your query (since order by has implicit type; no as string / as long etc) and that means it will use Ticks since your field has them.

You can solve it by:

  1. Transform your data from Instant into DateTime (or other) in index via AdditionalSo…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@ayende
Comment options

@luis-fss
Comment options

@luis-fss
Comment options

@luis-fss
Comment options

@arekpalinski
Comment options

Comment options

You must be logged in to vote
2 replies
@luis-fss
Comment options

@maciejaszyk
Comment options

Answer selected by luis-fss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants