Include content age in Lucene search score
Lucene.net search service is setup with Sitefinity CMS out-of-the-box. However, you have the option to choose whether content age is considered when calculating search score of pages, which affects how search results are ordered. Thus, with this option switched on, when visitors search for content or a page on the frontend, newer pages (or recently modified) are listed higher in the search results, similar to the way other search engines order results based on content age and relevancy.
For new projects, this setting is enabled by default and pages are listed with newer content higher in the list.
To switch on and off the content age option:
- In Sitefinity CMS backend, navigate to Administration » Settings » Advanced » Search » Search Services » LuceneSearchService.
- Expand the Parameters node and click on excludeContentAgeFromScoreCalculation.
- In the Value input field, enter: