Copyright (c) 1995-2013 dtSearch Corporation
The dtSearch Text Retrieval Engine for Linux provides a way for C++ and Java developers to incorporate dtSearch text retrieval functions into their applications for the Linux platform. No dtSearch end-user products are currently available for Linux so some C++ or Java programming is needed to make any use of the Linux version.
A license for the dtSearch Engine for Linux is $2,500, for use on up to three servers. For information on royalty-free and other licensing options, please contact dtSearch Corp.
The dtSearch Engine for Linux is dynamically linked with these libraries:
The dtSearch Engine is built with GCC 4.1.3 under Ubuntu Linux 7.1. Because of GCC compatibility issues, applications that use the dtSearch Engine for Linux must be compiled with GCC 4.
The Java API requires Java version 1.4.1 or later.
See the textdemo sample application, in <dtsearch>/examples/gcc/textdemo, for an example demonstrating how to build a C++ application using the dtSearch Engine.
To build the application:
make -f linux32.mak all
make -f linux32.mak run
Making the "all" target compiles and links the textdemo application.
Making the "run" target runs the application. (Because textdemo is dynamically linked to the dtSearch Engine library (libdtsearch.so.6.0), it will not execute unless LD_LIBRARY_PATH includes the folder where the dtSearch Engine library is located.)
To build and run the 64-bit version of textdemo:
make -f linux64.mak all
make -f linux64.mak run
For Java classes and sample code, see the <dtsearch>\examples\java folder. The Java interface to the dtSearch Engine is based on the Java Native Interface (JNI). Therefore, both the Java classes and a platform-specific binary executable are needed to use it.
The Java classes are in this file:
This file must be on the CLASSPATH. Adding the
dtSearch examples/java/classes folder to the CLASSPATH, or copying its contents
to a folder on the CLASSPATH, will make these classes available in Java.
Under Linux, the binary executable is libdtsearch.so, which must be accessed through a symbolic link named libdtsjava.so. To run the jdemo sample application:
chmod +x runjdemo.sh
If you get a Java "Unsatisfied Link" exception, it means that the necessary symbolic links are not set up in dtsearch/lib. To correct this:
chmod +x makelinks.sh
For API documentation, see help\dtSearchApiRef.chm and help\dtSearchJavaApi.chm in the Windows installation of the dtSearch Engine.
An HTML version of this help is included with the Linux version of the dtSearch Engine in dtSearchApiRef.zip and dtSearchJavaApi.zip.
The dtSearch Engine for Linux includes all features of the Windows version except: (1) the COM and .NET interfaces, and (2) RAR archive support.