SAP ABAP Function Module TREX_EXT_CREATE_INDEX (Create Index)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-TRX-API (Application Component) TREX ABAP + JAVA API
     STREX (Package) TREX ABAP client
Basic Data
Function Module TREX_EXT_CREATE_INDEX Create Index  
Function Group TREX_EXT_ADMINISTRATION   External: Administration  
Program Name SAPLTREX_EXT_ADMINISTRATION    
INCLUDE Name LTREX_EXT_ADMINISTRATIONU01    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting E_RETURN_CODE TYPE TREX_RFC-RETURN_CODE Return code
Exporting E_RETURN_TEXT TYPE TREX_RFC-RETURN_TEXT Return text
Exporting E_COMPONENT_RUNTIME TYPE TREXS_COMPONENT_RUNTIME Run time of the TREX components
Importing I_INDEX_ID TYPE CSEQUENCE IndexId: a-z, 0-9, '_', '-'
Importing I_RFC_DESTINATION TYPE TREX_RFC-RFC_DESTINATION RFC Destination
Importing I_SCHEMA_NAME TYPE CSEQUENCE '' HANA only: schema name
Importing I_LANGUAGE TYPE TREX_RFC-LANGUAGE 'EN' Language DE (German), EN (Englisch)
Importing I_DESCRIPTION TYPE TREX_RFC-DESCRIPTION Description
Importing I_INDEXSERVER_LOCATION TYPE TREX_RFC-LOCATION Host and Port of the Index Server (Host:Port)
Importing I_USE_QUEUESERVER TYPE TREX_RFC-FLAG 'X' 'X': QueueServer is used
Importing I_QUEUESERVER_LOCATION TYPE TREX_RFC-LOCATION Host and Port of the Queue Server (Host:Port)
Importing I_IS_PUBLIC TYPE TREX_RFC-FLAG 'X' 'X': Index is published
Importing I_TEXTMINING_RELEVANT TYPE TREX_RFC-FLAG 'X' 'X': Textmining Index is created
Importing I_MEMORY_INDEX TYPE TREXD_MEMORY_ONLY '' 'X': Index nur im Hauptspeicher
Importing I_INDEX_TYPE TYPE TREX_RFC-FLAG '0' Obsolete; 0: Physical Index, 1: Logical Index, 2:Temporary index
Importing I_LOGICAL_INDEX_TYPE TYPE TREX_RFC-FLAG '0' Obsolete; 0: Splitted Index, 1: Language Index, 2: Join Index, 3: Olap Index
Importing I_EXT_INDEX_TYPE TYPE TREXD_INDEX_TYPE Index Type
Importing I_KEEP_CONTENT TYPE TREX_RFC-FLAG 'X' 'X': Document content is stored
Importing I_PRECALCULATE_FEATURES TYPE TREX_RFC-FLAG 'X': Document features are calculated and stored
Importing I_IS_SEARCHABLE TYPE TREX_RFC-FLAG 'X' 'X': searching is possible in the index
Importing I_AUTO_CREATE_LANGUAGES TYPE TREX_RFC-FLAG 'X' 'X': Language indexes are created automatically
Importing I_DUPLICATE_DETECTION TYPE TREX_RFC-FLAG '' 'X': Duplicate documents are checked
Importing I_SIZE_FOR_DELTA_INDEX TYPE TREX_RFC-NUMC 0 Optional: Maximum no of documents in delta index
Importing I_USE_TEMPORARY_DELTA_INDEXES TYPE TREX_RFC-BOOLEAN 0 Optional: Use temporary delta indexes for speeding up indexing
Importing I_FAST_UPDATE_WITH_TEMP_DELTA TYPE TREX_RFC-BOOLEAN 0 obsolete
Importing I_MULTILANG_DOCS TYPE TREX_RFC-FLAG '' Optional: Docs with same key, but different language allowed
Importing I_ATTRIBUTE_DEFINITIONS TYPE TREXT_ATTR_DEF Attribut definitions
Importing I_ATTRIBUTE_DEFINITIONS2 TYPE HDBT_ATTR_DEF HANA only: Attribute Definition
Importing I_PHYSICAL_INDEXES TYPE TREXT_INDEXES Optional: splitted/logical indexes
Importing I_LANGUAGE_INDEXES TYPE TREXT_INDEXES Optional: language/logical indexes
Importing I_EXTENSIONS TYPE TREXT_EXTENSIONS Optional: Extension definition
Importing I_KEY_ATTRIBUTES TYPE TREXT_ATTRIBUTES Optional: Attributes that make up the document key
Importing I_DIRECT_USE TYPE TREX_RFC-BOOLEAN '0' 0: copy data from importPath to default location 1: don't copy, use data direct
Importing I_IMPORT_WRITABLE TYPE TREX_RFC-BOOLEAN '1' 0: index will be just readable 1: create also write version
Importing I_IMPORT_PATH TYPE TREX_RFC-PATH Path where the import should read
Importing I_ESTIMATED_SIZE TYPE TREX_RFC-NUMC 0 Estimated index size (for splitted indexes)
Importing I_USE_EXTERNAL_KEY TYPE TREX_RFC-FLAG '1' Optional: 0 or 1, 1: create $trexexternalkey$ attribute
Importing I_INSERT_ONLY TYPE TREX_RFC-FLAG '0' Optional: 0 or 1, 1: documents are only inserted (never updated)
Importing I_TOKEN_SEPARATOR TYPE TREX_RFC-SEPARATOR '' Token separators for TREXPreprocessor
Importing I_NUMBER_SEPARATOR TYPE TREX_RFC-SEPARATOR '' Number separators for TREXPreprocesso
Importing I_FAST_PREPROCESSING TYPE TREX_RFC-FLAG '' 1: index text without preprocessor
Importing I_FREESTYLE_SEARCH_ATTRIBUTES TYPE TREXT_ATTRIBUTES Freestyle Attributes
Importing I_FREESTYLE_SEARCH_ATTRIBUTES2 TYPE TREXT_FREESTYLE_ATTRIBUTES Freestyle Attributes
Importing I_PRELOAD_ATTRIBUTES TYPE TREXT_ATTRIBUTES Optional:
Importing I_PRELOAD_LANGUAGES TYPE TREXT_LANGUAGES Optional:
Importing I_ALL_ATTRS_FREESTYLE TYPE TREX_RFC-BOOLEAN 0 1: All attributes are free-style relevant
Importing I_NO_PHYSICAL_INDEXES TYPE TREX_RFC-NUMC number of physical indexes to be created
Importing I_DOCS_CHANGE_LANGUAGE TYPE TREX_RFC-BOOLEAN 0 1: deindex doc before reindexing
Importing I_ANALYZER_TYPE TYPE TREX_RFC-ANALYZER_TYPE '' '': default, 0: fast analyzer, 2: standard analyzer
Importing I_LIFETIME_FOR_TEMP_INDEX TYPE TREX_RFC-NUMC10 0 Lifetime (only for temporary indexes) in seconds
Importing I_CREATE_ON_SAME_LOCATION_AS TYPE TREXD_INDEX_ID '' Index will be created on same location as given index
Importing I_SET_TRANSACTIONAL TYPE TREX_RFC-BOOLEAN 0 1: Index can only be updated with transactions
Importing I_KEEP_LUW TYPE TREX_RFC-FLAG '' Only for debugging: keep logical unit of work
Importing I_USE_AE_ONLY TYPE TREX_RFC-BOOLEAN 0 Only for testing: use only attribute engine
Importing I_UNION_INDEXES TYPE TREXT_INDEX_IDS Union indexes
Importing I_TEMPLATE_INDEX TYPE TREXD_INDEX_ID Template index
Importing I_PARTITION_SPECIFICATION TYPE STRING Partition specification
Importing I_PARTITION_ATTRIBUTES TYPE TREXT_ATTRIBUTES Partition attr. (partitioned with this attr. as hash key)
Importing I_CONCAT_ATTRIBUTES TYPE TREXT_CONCAT_ATTRIBUTES Concatenate Attributes
Importing I_ADD_UDIV_ATTRIBUTE TYPE TREX_RFC-BOOLEAN 0 Optional: Add UDIV attribute for self joins
Importing I_ADD_TID_ATTRIBUTE TYPE TREX_RFC-BOOLEAN 0 Optional: Add TID attribute for transactions
Importing I_HIERARCHY_METADATA TYPE TREXS_HIERARCHY_METADATA Hierarchy metadata
Importing I_RANGE_ATTRIBUTES TYPE TREXT_RANGE_ATTRIBUTES Range attributes
Importing I_PATTERN_QUERIES_USE_CP TYPE TREX_RFC-BOOLEAN 0 0: false, 1: true
Importing I_TRANSACTION_CONTROL TYPE TREXS_TRANSACTION_CONTROL TREX Transaction Control
Importing I_AUTO_OPTIMIZE_COMPRESSION TYPE TREX_RFC-BOOLEAN 1 HANA only, 0: falsch, 1: wahr
Importing I_FULLTEXT_INDEX TYPE HDBS_FULLTEXT_INDEX HANA only: fulltext index parameters
Importing I_TABLE_GROUP TYPE HDBS_TABLE_GROUP HANA only: table group
Exception CONVERSION_ERROR TYPE Error during conversion to UTF-8
Exception ERROR TYPE Error, see error message
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  20040312 
SAP Release Created in 640