You are here: com.dtsearch.engine Package > Classes > SearchResults Class > SearchResults.getDocHits Method
SearchResults.getDocHits Method
Close
dtSearch Engine API for Java
SearchResults.getDocHits Method

An integer array containing the word offsets of the hits found in the currently selected document.

Syntax
Java
public int getDocHits();

For information on using this data to highlight hits, see Highlighting Hits in the dtSearch Engine help file.

Copyright (c) 1998-2018 dtSearch Corp. All rights reserved.