You are here: Symbol Reference > dtSearch.Engine Namespace > Classes > SearchResultsItem Class > SearchResultsItem Methods > SetItemScore Method
Close
dtSearch .NET Standard API 2024.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-2023 dtSearch Corp. All rights reserved.