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

Character used to indicate term weighting (example: apple:5)

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-2021 dtSearch Corp. All rights reserved.