synchronize the Oracle Context index

Posts   
 
    
saravana
User
Posts: 63
Joined: 11-Nov-2010
# Posted on: 27-Jul-2011 11:14:11   

Hi,

We are using FullTextSearch in one of our table columns. A Context index is created for this purpose.


CREATE INDEX CONTENT_idx ON TEMPLATE (CONTENT) INDEXTYPE IS CTXSYS.CONTEXT;

These kind of indexes are not transactional. So we need to synchronize them whenever a new data is inserted/updated into the table. Also we need to optimize this index on daily basis to improve the performance of the Queries.

Is there anyway to do this through LLBLGen? Or what is the better way to do this?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 27-Jul-2011 14:01:03   

Better done by Triggers.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39908
Joined: 17-Aug-2003
# Posted on: 28-Jul-2011 19:17:29   

You can set up full index search in sql server at least in such a way that it updates the catalog automatically (it's a setting when you setup full index search). We use that too on this forum.

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39908
Joined: 17-Aug-2003
# Posted on: 31-Jul-2011 10:03:47   

I now see you're using Oracle, not sql server, my bad. My previous reply is of no use to you, indeed use triggers in this case, and check whether oracle's full text search has build-in catalog build. If so, you could avoid triggers and use that.

Frans Bouma | Lead developer LLBLGen Pro