AI OnAI Off
Hi,
I think this is missing, By default IncludePreorderEntry is true then the StartDate will no longer take effect
criteria.IncludePreorderEntry = false;
Unfortunately, it doesn't help.
I chose the product for test, changed Allow Preorder to false for all product variants, rebuilded the index, but the product still in the returned documents from the search manager.
No, I meant for this
var searchCriteria = new CatalogEntrySearchCriteria
Yeah, of course I added that line
var searchCriteria = new CatalogEntrySearchCriteria { StartDate = query.DateFrom, EndDate = query.DateTo, IncludePreorderEntry = false, Locale = "en", MarketId = _currentMarket.GetCurrentMarket().MarketId, StartingRecord = 0 };
But it didnt help, actually nothing changed.
Hi.
I'm trying to find entries according to their start/end dates and it doesnt work. It just ignores start/end dates filter and returns all entries.
I'm using a standard lucene.net search provider, my entries are indexed.
Mediachase.Search.config
Search implementation
Can someone help me to understand what's wrong?
Thanks.