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

Character used to indicate term weighting (example: apple:5); see Redefining Search Operators.

public char WeightChar;

The prefix used to add field name in front of a word in an xfilter expression is a doubling of the WeightChar (default "::"). For example, if you change the WeightChar to !, then an xfilter expression with a field would look like this:

xfilter(word "FieldName!!Something")
Copyright (c) 1998-2023 dtSearch Corp. All rights reserved.