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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

a) Delete the existing full text index by using the DROP FULLTEXT INDEX statement.<br />

b) Create a new index using the new parameter values.<br />

Related Links<br />

Creating Full Text Indexes [page 235]<br />

When you create a TEXT or SHORTTEXT column in a table, <strong>SAP</strong> <strong>HANA</strong> automatically creates a corresponding<br />

full text index. However, for columns of other data types, you must manually create and define any necessary<br />

full text indexes.<br />

Synchronization [page 240]<br />

Full text indexes in a <strong>SAP</strong> <strong>HANA</strong> database must be created and updated in synchronization with the<br />

corresponding columns. This synchronization can be either synchronous or asynchronous.<br />

Queues [page 240]<br />

The queue is a mechanism used to enable a full text index to operate asynchronously. This means that when<br />

you insert new entries into the column, the text is not made available in the column until it is preprocessed.<br />

Full Text Index Parameters [page 247]<br />

The content and behavior of a full text index is configured by the use of both default and user-specified<br />

parameters. To view the configuration of a full text index, you use the SYS.FULLTEXT_INDEXES view.<br />

11.1.6 Full Text Index Parameters<br />

The content and behavior of a full text index is configured by the use of both default and user-specified<br />

parameters. To view the configuration of a full text index, you use the SYS.FULLTEXT_INDEXES view.<br />

In <strong>SAP</strong> <strong>HANA</strong>, full text indexes are configured using the following parameters:<br />

Parameter Data<br />

Type<br />

SCHEMA_NAM<br />

E<br />

NVARCH<br />

AR(256)<br />

TABLE_NAME NVARCH<br />

AR(256)<br />

TABLE_OID BIGINT<br />

INDEX_NAME NVARCH<br />

AR(256)<br />

INDEX_OID BIGINT<br />

LANGUAGE_C<br />

OLUMN<br />

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

Enabling Search<br />

NVARCH<br />

AR(256)<br />

Default<br />

(TEXT)<br />

Default<br />

(SHORTTEXT)<br />

None None None<br />

Default (Manually<br />

Created)<br />

Description<br />

Specifies the schema name<br />

Specifies the table name<br />

Specifies the object ID of the<br />

table<br />

Specifies the name of the full<br />

text index<br />

Specifies the object ID of the<br />

full text index<br />

Specifies the language used for<br />

analyzing the document. If no<br />

language is specified,<br />

automatic language detection is<br />

performed. The detected<br />

language is stored with the<br />

TEXT_AE attribute.<br />

With this option, you can refer<br />

to a column of the same<br />

P U B L I C<br />

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

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

Saved successfully!

Ooh no, something went wrong!