Hi,
I want to create a full text index via CDS. Therefore, I added the following annotation to the entity:
@SearchIndex: { text: { enabled: true, name: 'content_fti', phraseIndexRatio: 0.0, async: true, storeOriginalContent: true, textAnalysis: { mode: #EXTENDED, languageDetection: ['ar','ca','hr','cs','da','nl','en','fa','fr','de','el','he','hu','it','ja','ko','nb','nn','pl','pt','ro','ru','sh','zh','sk','sl','es','sv','th','zf','tr','sr','id'], mimeTypeElement: 'contenttype' }, textMining: { enabled: true } }, fuzzy: { enabled: true } }
I get the following error when trying to activate the data model:
Cannot find sub artifact "textMining" in "sap.cds::SearchIndex.text"
Did I miss something or is something wrong with the syntax, there? I cannot see any mistake..
Thanks
Jan