This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
oaenv:overview [2009/12/01 04:31] tdo |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{page>:top_add&nofooter&noeditbtn}} | ||
| - | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
| - | ====== OMNIDEX Environment Catalog Syntax ====== | ||
| - | ===== ENVIRONMENT ===== | ||
| - | ENVIRONMENT < environment_name > | ||
| - | ===== DATABASE ===== | ||
| - | DATABASE < database_name > | ||
| - | TYPE < flatfile | | ||
| - | ===== TABLE ===== | ||
| - | TABLE < tablename | "tablename" > | ||
| - | [ TYPE < ROLLUP | > ] | ||
| - | [ PHYSICAL "filespec" ] | ||
| - | [ AS "select_statment" ] | ||
| - | [ PRIMARY KEY “col1”,”col2” ] | ||
| - | [ FOREIGN KEY “col1”,”col2” REFERENCES “table1”(“col1”,”col2”) ] | ||
| - | < COLUMN column_spec [ COLUMN column_spec ... > ] | ||
| - | |||
| - | ===== Column Specification ===== | ||
| - | COLUMN column-name DATATYPE datatype-spec | ||
| - | [PROXIMITY “options”] | ||
| - | [SYNONYMS 'options'] | ||
| - | [SPELLCHECK 'options'] | ||
| - | [MISSPELLINGS 'options'] | ||
| - | [FORMS 'options'] | ||
| - | [STOPWORDS 'options'] | ||
| - | [PHONETIC 'options'] | ||
| - | [INCLUDED_TAGS 'options'] | ||
| - | [EXCLUDED_TAGS 'options'] | ||
| - | {AS < columnspec | "$retrieve_file(FILENAME)" > ] | ||
| - | |||
| - | ===== INDEX ===== | ||
| - | |||
| - | ===== NODE ===== | ||
| - | NODE nodename | ||
| - | DATABASE dbname FILEDSN "dsn" | ||
| - | [ LOCAL ] | ||
| - | [ CACHE ] | ||
| - | CLUSTER table | ||
| - | [PARTITION BY criteria_expression | ||
| - | |||
| - | ===== Examples ===== | ||
| - | |||
| - | ==== Tiny ==== | ||
| - | |||
| - | The following sample Environment Catalog Source is the minimum set of statements that will compile into an Omnidex Compiled Environment. | ||
| - | |||
| - | <code> | ||
| - | ENVIRONMENT tinyenv | ||
| - | DATABASE tinydb | ||
| - | TYPE flatfile | ||
| - | TABLE table1 | ||
| - | COLUMN C1 DATATYPE INTEGER | ||
| - | </code> | ||
| - | |||
| - | |||
| - | | ||
| - | |||
| - | {{page>:bottom_add&nofooter&noeditbtn}} | ||