Oracle Text (MOSC)

MOSC Banner

problem is when I type the word 'All' and I have a string which contains this word in the beginning

edited May 18, 2018 9:10AM in Oracle Text (MOSC) 3 commentsAnswered ✓

Hi,

I'm using Oracle text for my global search in my application.

Behind the search engine I'm using a materialized view with Oracle text index which uses a LEXER:

BEGIN

CTX_DDL.CREATE_PREFERENCE('MYLEX', 'BASIC_LEXER');

CTX_DDL.SET_ATTRIBUTE('MYLEX', 'PRINTJOINS', '_-%()');

END;

/

CREATE INDEX

    ENTITY_FULL_TREE_TXTIX1

ON

    ENTITY_FULL_TREE_MV1

    (

        FULL_PATH

    )

    INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS

    (

        'LEXER MYLEX'

    ) ;

The search procedure is retrieving a free text and search it within the materialized view using CONTAINS.

The problem is when I type the word 'All' and I have a string which contains this word in the beginning of a word, it doesn't find it.

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