28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Related Links<br />

For triggering the text analysis using the option EXTRACTION_CORE, specify the following additional<br />

parameters for the full text index:<br />

TEXT ANALYSIS ON<br />

CONFIGURATION 'EXTRACTION_CORE'<br />

LANGUAGE COLUMN LANG<br />

ALTER TABLE "MY_SCHEMA"."$TA_CUSTOMER_INDEX" ADD CONSTRAINT ALTER_COMMAND<br />

FOREIGN KEY("KEY_1", "KEY_2") REFERENCES<br />

"MY_SCHEMA"."CUSTOMERS"("KEY_1","KEY_2") ON DELETE CASCADE<br />

Text Data Processing Language Reference <strong>Guide</strong><br />

This guide describes in detail the standard extraction content and the linguistic analysis<br />

Structure of the $TA Table<br />

The table $TA_ is generated automatically after triggering the index creation. The table is built<br />

from the key fields of the source table, additional key fields TA_RULE and TA_COUNTER, and 8 additional fields.<br />

● Key fields of the source table<br />

● Name of the analyzed column<br />

● Entity type, for example DATE or NOUN_GROUP<br />

● Entity value, for example October 29, 2010 or horizontal stabilizer<br />

● Normalized entity value, if available, for example 2010-10-29<br />

Table 11: Structure of TA table<br />

Column ID Key Description Data Type<br />

<br />

Yes In order to support a foreign key definition<br />

linking from the $TA table to its source table,<br />

the $TA table has to use exactly the same key<br />

columns of its source table (in data type and<br />

ID).<br />

The $TA table includes all keys from the<br />

source table.<br />

TA_RULE Yes Stores the rule package that yielded the<br />

token. This is also required to distinguish<br />

between LXP output and output from the<br />

entity extraction.<br />

TA_COUNTER Yes The token counter counts all tokens across<br />

244<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved.<br />

the document. The order is only unique for a<br />

same as in source table<br />

NVARCHAR(200)<br />

BIGINT<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Enabling Search

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!