You are here: com.dtsearch.engine Package > Interfaces > DataSource Interface > DataSource.getDocText Method
Close
dtSearch Engine API for Java
DataSource.getDocText Method

In DocText, supply the text you want the dtSearch Engine to index.

Syntax
Java
String getDocText();

This must be plain text that dtSearch can index directly. If you need to index text that is in a document, you can use a FileConverter to convert the document data to plain text.

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