To use file-based filter expressions in an application, you must create a directory to contain record filter files in the same location where the MDEX Engine index data will reside.

The name of this directory must be:

<index_prefix>.fcl

For example, if the MDEX Engine index data resides in the directory:

/usr/local/endeca/my_app/data/partition0/dgidx_output/

and the index data prefix is:

/usr/local/endeca/my_app/data/partition0/dgidx_output/index

then the directory created to contain record filter files must be:

/usr/local/endeca/my_app/data/partition0/dgidx_output/index.fcl

Record filters that are needed by the application should be stored in this directory, which is searched automatically when record filters are selected in an MDEX Engine query. For example, if in the above case you create a filter file with the path:

/usr/local/endeca/my_app/data/partition0/dgidx_output/index.fcl/MyFilter

then the filter expression stored in this file will be used when the query refers to the filter MyFilter.

For example, the URL query:

N=0&Nr=FILTER(MyFilter)

will use this file filter.


Copyright © Legal Notices