My Oracle Support Banner

How to Create a Context Index Using a Function (Doc ID 1063279.1)

Last updated on APRIL 27, 2020

Applies to:

Oracle Text - Version to [Release 10.2 to 11.2]
Information in this document applies to any platform.


NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material. Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.


This document will show an example of how to create a CONTEXT Index using a function.

If you try to create a CONTEXT index using a function you will get below error, as function-based index is not supported.

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

In below example we want to eliminate the spaces in this field is to simplify our search.
Some last names can have multiple spellings.


Van de berg
Van deberg
Vande berg


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.