You are here: COM Interface > Interfaces > IOptions Interface > IOptions::WeightChar Property
Close
dtSearch Text Retrieval Engine Programmer's Reference
IOptions::WeightChar Property
Syntax
IDL
__property BSTR WeightChar;

Character used to indicate term weighting (example: apple:5) 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) 1995-2021 dtSearch Corp. All rights reserved.