Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Fulltext Index on "Standard-table" in a "not-owned" system?

$
0
0

Hi,

 

in our system we have a (classical ABAP-)view on a table with a column on which we want to search for some entries. This column does have upper and lower case letters and also some German Umlauts, but some Umlauts are also stored “normalized” (ue, ae, …). The table is a standard table (such as ADRP) and does not exist in our schema/namespace.

 

The system is not only used by us, but by different departments – so we don’t own it.

 

Example-data for the column in the table:

Ausprägung

Auspraegung

Ausprägungsverzeichnis

 

I want to search for „Auspraegung*“ and expect to find all entries listed above. I found out that I can use the following statement:

SELECT *

FROM"SCHEMA"."VIEW"

WHERE CONTAINS(COLUMN, 'Auspraegung*', FUZZY(1.0, 'spellCheckFactor=1.0, textSearch=compare'))

 

Unfortunately I can use this statement only if I create an index on the relevant column, otherwise I get an error:

CREATE FULLTEXT INDEX INDEXNAME  ON"SCHEMA"."TABLE"(COLUMN) ASYNC FUZZY SEARCH INDEX OFF SEARCH ONLY OFF FAST PREPROCESS ON

 

Unfortunately we don’t have authorization to create it via the HANA Studio, so I did do it via ABAP.

 

My Questions:

What’s the right proceeding here?

Should I create the index?

Or should I create a HANA-View and would that solve my problem? Can a CDS-View make that feature work without creating a fulltext index?

Should I create a fulltext index on a standard-table?

 

Can anyone answer these questions?

 

Regards,

Stefan


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>