CONTEXT INDEX and Tune LIKE clause (merged by bb and mc) [message #348982] |
Thu, 18 September 2008 08:21 |
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
|
|
|