You are here: C++ API > Classes > dtsSearchResultsItem Structure > dtsSearchResultsItem::hitsByWord Data Member
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchResultsItem::hitsByWord Data Member
const char * hitsByWord;

A null-delimited string set containing the number of times each word or phrase in a search request was found. The string set consists of a series of entries with the number of hits, the word or phrase, and, if the search involved a field name, the name of the field. Phrases are quoted. To obtain hitsByWord, set the dtsSearchWantHitsByWord flag in the dtsSearchJob's searchFlags member.

Copyright (c) 1995-2022 dtSearch Corp. All rights reserved.