Skip to main content
4 events
when toggle format what by license comment
Aug 6, 2019 at 6:59 comment added Durga Bose And I see this coming through in SOLR as ((((((_language:(en) AND _path:(f2c81b01775f4789ab045e519c5172ad)) AND _latestversion:(True)) AND (startdate_tdt:[* TO 2020-08-06T04:17:18.948Z] AND enddate_tdt:[2018-08-06T04:17:18.948Z TO *])) AND _template:(504cb359dc9e4df991b662b7151692eb)) AND featured_b:(True)) AND _val__t:("recip abs ms NOW HOUR,startdate_tdt ,3.16e 11,4,.4")) and no results are being returned, any ideas?
Aug 6, 2019 at 6:57 comment added Durga Bose Thanks Michael, perhaps I am doing something wrong in the code, but this is what I added: Expression<Func<IndexedEventItem, bool>> dateRanking = PredicateBuilder.True<IndexedEventItem>(); dateRanking = dateRanking.And(x => x._val_.Equals("recip(abs(ms(NOW/HOUR,startdate_tdt)),3.16e-11,4,.4)")); queryable = queryable.Where(dateRanking);
Aug 3, 2019 at 19:59 history edited Michael West CC BY-SA 4.0
added 575 characters in body
Aug 3, 2019 at 19:46 history answered Michael West CC BY-SA 4.0