This is an old revision of the document!
Overview | File Types | Record Layouts | Filesets | x
In general, the data files that Omnidex indexes must maintain a consistent structure, meaning that the data has consistent rows and columns. For example, relational database systems allow data to be exported data into data files, and these files are ideal for indexing with Omnidex. Similarly, companies often receive data from vendors or suppliers in this same form, and these files can be indexed directly without having to load the data into a relational database.
Data files usually fall into one of two categories:
Companies also have data that is not maintained with a consistent structure, such as word processing documents, spreadsheets, PDF files, HTML files and XML files. At present, Omnidex does not index these types of files directly, though there are techniques for indexing their textual content that are discussed in the documentation for Omnidex Text.
Raw data files are accessed by creating a table definition in Omnidex that points to the data file. Once this is done, applications can use SQL statements to access the table. Omnidex will process the data in the data file just like it would when accessing a relational database.
In the CREATE TABLE statement, the PHYSICAL clause is used to point to the physical location of the raw data file. This PHYSICAL clause can contain a relative path name (relative to the location of the Omnidex Environment File) such as “dat/states.dat”, or an absolute path name such as “d:/class/lab1/dat/states.dat”. This PHYSICAL clause can also contain multiple filesets, and can reference environment variables.
CREATE TABLE "STATES" physical "dat/states.dat" ...
See also: