This is an old revision of the document!


DRAFT

OMNIDEX Environment Catalog Syntax

ENVIRONMENT

ENVIRONMENT

ENVIRONMENT 

DATABASE

DATABASE

TABLE

TABLE < tablename | "tablename" >

TABLE COLUMN

COLUMN column-name DATATYPE datatype-spec 
    [PROXIMITY “options”]
    {AS "$retrieve_file(FILENAME)"
    [SYNONYMS 'options']
    [SPELLCHECK 'options']
    [MISSPELLINGS 'options']
    [FORMS 'options']
    [STOPWORDS 'options']
    [PHONETIC 'options']
    [INCLUDED_TAGS 'options']
    [EXCLUDED_TAGS 'options']
	where the “options” are:
	
		SPACE=proximity_spec
NEAR=proximity_spec
		BEFORE=proximity_spec
		PHRASE=proximity_spec
	
	and where “proximity_spec” is:

		NEAR(n) – means insure that word1 is within n words before or after word2.
		BEFORE(n) – means insure that word1 is within n words before word2
		PHRASE  - means insure that word1 immediately before word 2, and treat as a phrase rather than separate words.

The default behavior is as follows:

	SPACE=NEAR(999)
NEAR=NEAR(10)
	BEFORE=BEFORE(10)
	PHRASE=PHRASE 

One other change to the options in the clause is the removal of AUTOENABLE and NOAUTOENABLE. The AUTOENABLE option makes sense for things like SYNONYMS, but it doesn’t make sense for PROXIMITY since proximity is always in effect.

 
Back to top
oaenv/overview.1259604634.txt.gz · Last modified: 2012/10/26 14:20 (external edit)