Mmmm if you add a default value, you are going to index a "fake" date for
the null one ( like a specific date you decide).
Of course this default value should be different from any other possible
date in your system and must not be misleading for users.
The reason you want the date to be in the do
Hi,
One approach if to use default value for that field. Missing values represented
by that constant value.
Other approach is to use a query to capture documents that do not have that
field:
+*:* -field:[* TO *]
I think, newly added exists(field) function query can be used too.
Ahmet
On We