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
Hello everybody
I want to write an examine search that return files between tow dates come from property value so i tried to use range query and here is my code :
var searcher = indx.GetSearcher(); ISearchResults results = null; results = searcher.CreateQuery() .Field("path", Umbraco.Media(124111).Path.MultipleCharacterWildcard()).And() .Field("__NodeTypeAlias", "File").And() .RangeQuery<DateTime>("fileDate".Split(','),Convert.ToDateTime("04/06/2017"),DateTime.Now) .Execute();
but i faced this error :
any help ?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to use range query for examine to search between tow date based on date picker value ?
Hello everybody
I want to write an examine search that return files between tow dates come from property value so i tried to use range query and here is my code :
but i faced this error :
any help ?
is working on a reply...