9.12 OPG_APIS.CREATE_EDGES_TEXT_IDX
Format
OPG_APIS.CREATE_EDGES_TEXT_IDX( graph_owner IN VARCHAR2, graph_name IN VARCHAR2, pref_owner IN VARCHAR2 DEFAULT NULL, datastore IN VARCHAR2 DEFAULT NULL, filter IN VARCHAR2 DEFAULT NULL, storage IN VARCHAR2 DEFAULT NULL, wordlist IN VARCHAR2 DEFAULT NULL, stoplist IN VARCHAR2 DEFAULT NULL, lexer IN VARCHAR2 DEFAULT NULL, dop IN INTEGER DEFAULT NULL, options IN VARCHAR2 DEFAULT NULL,);
Description
Creates a text index on a property graph edge table.
Parameters
- graph_owner
-
Owner of the property graph.
- graph_name
-
Name of the property graph.
- pref_owner
-
Owner of the preference.
- datastore
-
The way that documents are stored.
- filter
-
The way that documents can be converted to plain text.
- storage
-
The way that the index data is stored.
- wordlist
-
The way that stem and fuzzy queries should be expanded
- stoplist
-
The words or themes that are not to be indexed.
- lexer
-
The language used for indexing.
- dop
-
The degree of parallelism used for index creation.
- options
-
Additional settings for index creation.
Usage Notes
The property graph must exist in the database.
You must have the ALTER SESSION privilege to run this procedure.
Examples
The following example creates a text index on the edge table of property graph mypg
, which is owned by user SCOTT, using the lexer OPG_AUTO_LEXER
and a degree of parallelism of 4.
EXECUTE OPG_APIS.CREATE_EDGES_TEXT_IDX('SCOTT', 'mypg', 'MDSYS', null, null, null, null, null, 'OPG_AUTO_LEXER', 4, null);
Parent topic: OPG_APIS Package Subprograms