SYS Context index is not working for new records [message #514709] |
Wed, 06 July 2011 01:00 |
|
darshanvaidya
Messages: 2 Registered: July 2011
|
Junior Member |
|
|
Hi,
I am new in oracle,I have one table tb_search and am searching few contents from one clob column.after creating following index,
I have created following index
CREATE INDEX INDX_SEARCH ON
TB_SEARCH (SEARCH_CLOB) INDEXTYPE IS CTXSYS.CONTEXT;
SELECT ID FROM TB_SEARCH WHERE
CONTAINS(SEARCH_CLOB, '%keyboard%' )>0 ;
search is working fine on existing records on tb_search table but if any record get inserted in tb_search then that search is not included into the search query result.wat wud be the reason Please suggest.
regards
Darshan
|
|
|
|
|
|
|
Re: SYS Context index is not working for new records [message #534173 is a reply to message #534170] |
Sat, 03 December 2011 13:40 |
|
Barbara Boehmer
Messages: 9101 Registered: November 2002 Location: California, USA
|
Senior Member |
|
|
There are multiple options with context indexes. The index could be synchronized and optimized periodically or rebuilt periodically or the index could be recreated to automatically synchronize, as the original poster chose to do, which would still require periodic optimization and rebuilding. The index could also be created as transactional, so that no synchronization, optimization, rebuilding, or dropping and recreating would be necessary.
|
|
|