You are here: Symbol Reference > dtSearch.Engine Namespace > Classes > SearchJob Class > SearchJob Properties > FieldWeights Property
Close
dtSearch .NET Standard API 2024.02
SearchJob.FieldWeights Property

Specify a relevance weight for hits that occur in listed fields (example: Subject:10,HtmlTitle:20)

public string FieldWeights;

FieldWeights is a list of field names, with a weight indicated after each field name, like this:

Subject:10,HtmlTitle:20,Description:15

Hits that occur in one of these fields will count more heavily than other hits, according to the weight you specify. For more information, see "Relevance" in the "Overviews" section of the API documentation.

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