You are here: Symbol Reference > dtSearch.Engine Namespace > SearchResultsItem Class > SearchResultsItem Methods > SetItemScore Method
SetItemScore Method
dtSearch .NET Standard API 2021.02
SearchResultsItem.SetItemScore Method

Use to change the raw score of an item in SearchResults in the OnFound callback.

public void SetItemScore( int newVal );

In the OnFound callback in ISearchStatusHandler, set ChangedItemScore = true and set Score to a new value to change the score of an item in search results.

Copyright (c) 1998-2022 dtSearch Corp. All rights reserved.