Add a document to search results.
int addItem(const char * indexRetrievedFrom, long docId, long hitCount, long * hits);
|
Parameters |
Description |
|
const char * indexRetrievedFrom |
The path to the index containing this document. |
|
long docId |
The document id of this document (usually obtained from dtsSearchResultsItem.docId). |
|
long hitCount |
Number of hits in the document. |
|
long * hits |
A vector of hitCount 32-bit integers with the word offsets of hits. |
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|