You are here: C++ API > Classes > dtsSearchResultsItem Structure > dtsSearchResultsItem::hitsByWord Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchResultsItem::hitsByWord Data Member
Syntax
C++
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-2021 dtSearch Corp. All rights reserved.