Search query to exclude a property from results calculation RRS feed

  • Question

  • Hello,

    Using SP2013, I'm trying to tune the sharepoint search engine.
    I've created and mapped my customs managed properties, created the results sources, etc... All is working fine.

    However, on a particular query i want to do something but i dont know if its possible.
    The query set in the search source targets a particular ContentType, searching in all managed properties.

    But i would like to exclude a property from the results calculation, not demote. Is that possible at the query level ?

    For example: if i search someone by its name, i'll find items modified by him. For me it could be false positives.

    if i add -ModifiedBy:{searchTerms} to the query, all items that's been modified by {searchTerms} will not appear whereas other properties could match the {searchTerms} and in this case it should be positive results.

    What kind of KQL words i can use for this ?

    Thank you !


    Friday, August 26, 2016 1:35 PM