I don't exactly know how to do this with the NEST client, but to include the recently modified date into your scoring function you would typically use the function score query. If it is enough to just sort the top K search hits by the modified date, you can also look into Rescoring by sorting on that field.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.