You are here: C++ API > Classes > dtsOptions2 Structure > dtsOptions2::weightChar Data Member
dtsOptions2::weightChar Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsOptions2::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")