Category: "content", LuceneQuery: {+(+IndexType:content
+NodeTypeAlias:booking) +(startDate:[637397856000000000 TO 638092512000000000])}
Despite there are plenty of records between those dates (2 years) - it is not returning any results.
If I remove the date range condition - it returns all results as expected.
I am using a NativeQuery above but without it also has the same effect:
Examine search's RangeQuery<DateTime> not returning any results
Umbraco 10
I am trying to use a
RangeQuery
withDateTime
range eg.and then date range option:
The query ultimately resolves to:
Despite there are plenty of records between those dates (2 years) - it is not returning any results. If I remove the date range condition - it returns all results as expected.
I am using a
NativeQuery
above but without it also has the same effect:If I try to use a raw query like this:
where
searcherSettings.RawQuery
is a string:the
searchQuery
resolves toWhat is going on here?
Do you find a solution ?
I have created custom index where I index dates are need and it is working. I didn't make it working with default index
is working on a reply...