Oracle: Full text search with condition

前端 未结 4 1968
栀梦
栀梦 2020-12-13 16:27

I\'ve created an Oracle Text index like the following:

create index my_idx on my_table (text) indextype is ctxsys.context; 

And I can then

4条回答
  •  天涯浪人
    2020-12-13 16:53

    I'd put an index on group_id and see if that's good enough. You don't say how many rows we're talking about or what performance you need.

    Remember, the order in which the predicates are handled is not necessarily the order in which you wrote them in the query. Don't try to outsmart the optimizer unless you have a real reason to.

提交回复
热议问题