|
Words that are not Indexed | Fulltext in 602SQL | CREATE FULLTEXT Statement |
Fulltext plug-ins are external programs or utilities that convert binary documents (e.g. DOC or XLS) into words that are indexed. Text formats, including HTML, do not require conversion.
Fulltext plug-ins are defined using the Fulltext plug-ins action that is accessible from the Control Panel on the Local Settings tab.
602SQL offers two plug-in types for Windows and Linux:
External utilities do not have to be configured, everything is automatic after selecting a utility from the list of individual formats.
The OpenOffice.org package (version 1 or 2) may be used as a plug-in. Just set the OpenOffice.org plug-in for all formats and specify the path to the OpenOffice.org executable file (soffice.exe). OpenOffice.org can be used in one of two ways:
Specify the path to the OpenOffice.org executable, soffice.exe program (for Windows c:\Program Files\OpenOffice.org 2.x\program\soffice.exe ) or soffice (for Linux the installation differs on various Linux distributions and versions).
The next step is the installation of the ftx602.xba OpenOffice.org macro that does word extraction. Follow these steps to install the macro:
You must be logged in as the root user on Linux to perform this (or as a user that can modify the OOO_HOME/share/basic/Tools folder contents).
The ftx602.xba file is located in the folder where 602SQL is installed on Windows, and in the /usr/share/602sqlXX folder on Linux (XX is the version of 602SQL).
Specify the hostname and port that is running OpenOffice.org as a server, and the program subfolder of the OpenOffice.org local installation (the converter needs .DLL libraries from OpenOffice.org in order to run).
OpenOffice.org must be run as a server, like this:
soffice.exe "-accept=socket,host=localhost,port=8100;urp;"Where localhost is the IP address where the server should be executed, and 8100 is the example port number the server should listen on. The description is the same for Linux, only the binary file soffice will be executed.
The ftx/ooo11cvt/ooo11cvt[.exe] converter is used internally. It connects to the hostname and port specified in the configuration, does the conversion, disconnects and terminates.
The converter works with OOo 1.1 or newer (OOo 2.x uses the same converter).
Words that are not Indexed | Fulltext in 602SQL | CREATE FULLTEXT Statement |