You are here: C++ API > Classes > dtsSearchResultsItem Structure > dtsSearchResultsItem::phraseCount Data Member
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchResultsItem::phraseCount Data Member
long phraseCount;

Number of phrases matching the search request. By default, dtSearch counts each word in search results as a hit. When the dtsSearchWantHitsByWord flag is set in the dtsSearchJob's searchFlags member, in addition to creating the hitsByWord table (see above), dtSearch will also calculate the hit count with each phrase counted as a single hit. The hitCount is still reported as the number of words matching the search request.

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