none
Search result - automatic exclusion of "old documents"

    Question

  • Hi good folks,

    I was wondering whether it's possible and how one would go about setting up an automatic exclusion of search results? Mmeaning documents which are older than 5 years - having these excluded from the search result.

    Maybe adding some sort of refiner aswell where one would get the choice to include those if they so wish? Would this be do-able?

    thanks in advance!

    Thursday, March 2, 2017 10:40 AM

All replies

  • Hi,

    It’s possible.

    You can edit search results page > edit Search Results web part > click Change query button.

    Type “Created>{Today-1825}” in Query text, then search results will display items which were created in 5 years.

    Thanks,

    Dean Wang


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, March 3, 2017 3:20 AM
    Moderator
  • Hi,
    Have you set query in search result page?
    If my reply is helpful to you, you can mark as answer.
    Thanks,
    Dean Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Monday, March 13, 2017 1:12 PM
    Moderator