You are here: C++ API > Classes > dtsOptions Structure > dtsOptions::weightChar Data Member
dtsOptions::weightChar Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsOptions::weightChar Data Member
Syntax
C++
char weightChar;

Character used to indicate term weighting (example: apple:5); see Redefining Search Operators. 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")