You are here: com.dtsearch.engine Package > Interfaces > DataSource2 Class > DataSource2.getDocTypeId Method
Close
dtSearch Engine API for Java
DataSource2.getDocTypeId Method

Each time getNextDoc() is called, getDocTypeId() will return an integer identifying the file type of the last document indexed

Syntax
Java
public int getDocTypeId();
Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.