Oracle Text (MOSC)

MOSC Banner

how to create a fulltext index on a virtual column ?

edited Sep 3, 2013 6:13AM in Oracle Text (MOSC) 1 commentAnswered
Hello,
I have trouble creating a fulltext index on a virtual column.

Given the following table:


  CREATE TABLE "PJCV_ADM"."MANDATAIRE"
   (
     "CLE_MANDATAIRE" NUMBER CONSTRAINT "NN_366_CLE_MANDATAIRE" NOT NULL ENABLE,
    "NOM_MANDATAIRE" VARCHAR2(32 CHAR),
    "PRE_MANDATAIRE" VARCHAR2(32 CHAR),
    "NOM_PRE_MANDATAIRE" VARCHAR2(65 CHAR) GENERATED ALWAYS AS (DECODE("PRE_MANDATAIRE",NULL,"NOM_MANDATAIRE","NOM_MANDATAIRE"||' '||"PRE_MANDATAIRE")) VIRTUAL VISIBLE  NOT NULL ENABLE
)

I would like to create a textual index on NOM_PRE_MANDATAIRE, to be able to perform CONTAINS searches.

I have tried differents ways, with no success, all returning the error:

DRG-11304: function-based indexes are not supported by this indextype

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center