Re: How exclude empty fields?

2016-11-16 Thread Chris Hostetter
: The issue I have is that some promotions are permanent so they don't have : an endDate set. : : I tried doing: : : ( +Promotion.endDate:[210100TOvariable containing yesterday's date] : || -Promotion.endDate:* ) 1) mixing prefix ops with "||" like this is most certainly not doing what

Re: How exclude empty fields?

2016-11-11 Thread Ahmet Arslan
Hi, Match all docs query minus Promotion.endDate:[* TO *] +*:* -Promotion.endDate:[* TO *] Ahmet On Friday, November 11, 2016 5:59 PM, voidmind wrote: Hi, I have indexed content about Promotions with effectiveDate and endDate fields for when the promotions start and end.

How exclude empty fields?

2016-11-11 Thread voidmind
Hi, I have indexed content about Promotions with effectiveDate and endDate fields for when the promotions start and end. I want to query for expired promotions so I do have this criteria, which works fine: +Promotion.endDate:[210100TOvariable containing yesterday's date] The issue I