Latest News

the latest news from our team

Using Omnidex with Eloquence

These instruction apply to OLEDB, ODBC, and JDBC servers.

An environment file will be needed by the Omnidex libraries. The following is a sample environment file:

OMNIDEX_HOME=/users/pso/software/omnidex30811
OMNIDEX_REG=/users/pso/software/omnidex30811/odxreg
OAGLOBAL=/users/pso/software/omnidex30811/oaglobal.env
ODXERROR=/users/pso/software/omnidex30811/odxerror
ODXCLMSG=/users/pso/software/omnidex30811/odxclmsg.aux
OMNIDEX_ADDIN=ON
OMNIDEX_LIBS=/users/pso/software/omnidex30811/lib
OMNIDEX_INDEX_DIR=/users/pso/company/data/DB/test
LD_LIBRARY_PATH=/opt/eloquence6/lib

This file is referenced in the startup parameters for the server software. As an example, when ODBC is started on an HPUX system from inetd.conf, the following changes can be made:

Old:

odbcsrvr stream tcp nowait root /opt/minisoft/odbcsrvr.exe odbcsrvr.exe /W /S

New:

odbcsrvr stream tcp nowait root /opt/minisoft/odbcsrvr.exe odbcsrvr.exe /W /S /E:/opt/minisoft/env1.cfg

Similarly, for JDBC the server line would appear as follows:

jdbcsrvr stream tcp nowait root /opt/minisoft/jdbcsrvr.exe jdbcsrvr.exe /W /S /E:/opt/minisoft/env1.cfg

Use the SAME name for the Image Database name and the Omnidex dbinstal. Use “ImageDatabase0=MSCARD,,0,1,0” if you used MSCARD in dbinstal. If you use “ImageDatabase0=:8102/MSCARD,,0,1,0”, Omnidex will look for the index files with names as “8102_MSCARD”.

If you need to use a non-default port number, either add the environment variable for Eloquence (EQ_DBSERVER=127.0.0.1:8102) or create the indexes with the fully qualified Eloquence name.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

code