Oracle Text (MOSC)

MOSC Banner

How to query using ABOUT operator in Oracle Text

edited Feb 25, 2014 12:00PM in Oracle Text (MOSC) 1 commentAnswered

Hi,

I have a requirement of searching the similar values (same meaning values) from a table column based on a text passing to the query. I know that the ABOUT operator in Oracle Text will be useful for it. But, I am not able to find a way to use it properly.

Here, is the approach, I have followed for this case:

Created a table VenuTest and inserted some data into it:

CREATE TABLE VenuTest(id NUMBER, text VARCHAR2(2000))

INSERT INTO venutest VALUES (1,'temperature');

INSERT INTO venutest VALUES (2,'house');

Created a Basic Lexer:

begin

  ctx_ddl.create_preference('mylex', 'BASIC_LEXER');

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