Home » Server Options » Text & interMedia » CONTEXT INDEX and Tune LIKE clause (merged by bb and mc)
CONTEXT INDEX and Tune LIKE clause (merged by bb and mc) [message #348982] Thu, 18 September 2008 08:21 Go to previous message
getritesh
Messages: 235
Registered: July 2006
Location: INDIA
Senior Member

Hello sir,

I created EMP table with column ENAME of type Varchar2(10) and added some records, next i created a Context index on ENAME
and executed a query

Select ENAME
From EMP
Where Contains(ENAME,'%'||'ER'||'%') > 0

I GOT CORRECT RESULT

But later i added few more records and ran the query but it didn't showed the extra rows in output which were also satisfying the query criteria

Later i came to know that Context index needs to be synchronized with CTX_DDL.SYNC_INDEX('index_name')

If so then whats the use of this index in OLTP applications where the index needs to be automatically updated.

Is there any method to automatically update Context index?

Thanks in advance
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: package and oracle text search AND SOS,SOS,Search,Search,SOS (merged by bb)
Next Topic: Problem with Fuzzy Query
Goto Forum:
  


Current Time: Wed Apr 24 19:50:20 CDT 2024