Replies: 6 comments 3 replies
-
What do you mean, does not work? What does the RQL looks like? |
Beta Was this translation helpful? Give feedback.
-
The database that is being used is a very small test database. I deleted the index and re-ran the query. The following screen shots show the status of the index that is being used. Why are there no index terms loaded for the CreatedAt.Date? |
Beta Was this translation helpful? Give feedback.
-
For comparison purposes here is the index under 4.x: |
Beta Was this translation helpful? Give feedback.
-
I have the following initialization code in place which had to be changed in the migration to 5.x.
The CustomContractResolver is as follows:
Is this causing the auto index to be created incorrectly because the index terms are not using the correct naming? Instead of the index term being "CreatedAt" it is "created_at". |
Beta Was this translation helpful? Give feedback.
-
The 4.x query: The 5.x query: Note "CreatedAt.Date" versus "created_at.Date" I assume this has to do with the CustomContractResolver discussed in the previous post but I am not sure what the problem is since it worked under 4.x. Suggestions? |
Beta Was this translation helpful? Give feedback.
-
Now that I know more about what has been going on I have summarized the issue under a new discussion, see #16378 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The query shown in the code below works fine in RavenDb 4.x but does not work (returns 0 documents) in RavenDb 5.x. The 4.x and 5.x databases are identical. Any ideas why this doesn't work in 5.x?
Beta Was this translation helpful? Give feedback.
All reactions