You are here: com.dtsearch.engine Package > Interfaces > DataSource2 Class > DataSource2.getDocId Method
Close
dtSearch Engine API for Java
DataSource2.getDocId Method
Syntax
Java
public int getDocId();

Each time getNextDoc() is called, getDocId() will return the doc id of the last document indexed. A doc id can be used to identify a document in a SearchFilter.

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