• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Oracle Text Error when "FUZZY"is used

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have a query like this:


when i run this query, i get the following error:
ERROR at line 1:
ORA-20000: Oracle Text error:
DRG-10599: column is not indexed
I am a Java Programmer and want to use this query in my code...I browsed the net and found that this is realted to the index of the table...Can sombody tell me as to what to be done inorder to create that particular index...I want to do this today and get some "Appreciation"...Please help me!
Many thanks in advance,
Prabha
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Prabha,

The error tells you exactly what you need
to do - create the TEXT index - e.g:

create index IDXC_ASSOC_WORD_ALTERNATE on ASSOC_WORD(ASSOC_WORD_ALTERNATE) indextype is ctxsys.context
/

Then you can start using the contains operator
with the column.

But this assumes you have Oracle TEXT installed
properly in your instance and the proper grant
has been granted to your schema: CTX_APP.

To setup Oracle TEXT follow the steps from:

http://www.orafaq.com/faqctx.htm

HTH,
Regards,
Giovanni
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic