Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm doing a search on several date fields. Using Range on a single date field works just fine. However, when I "OR" the range on another date field, nothing is returned. This is how the query looks like:
var query = searchCriteria.Range("updateDate", fromDate, toDate)
.Or().Range("some_other_date", fromDate, toDate);
The resulting query is:
+updateDate:[from_date_value TO to_date_value] some_other_date:[from_date_value TO to_date_value]
That query results to an empty set. If I remove the someotherdate from query, I get the expected result. What am I missing?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted