i have an situation im wondering if anyone can point me in the right direction...they are wanting to do a googl.com style keyword search on some varchar2 fields. I have no idea how google can get a return so fast. I have several ideas in oracle. For instance...if I take the keywords provided in a list and break them out into every combination of and/or clauses with a constant attached that is the number of and's divided by the number of total keywords, then run them all as a big union. This would allow me to return results with a relevancey rating based on the constant. I would have to remove dupes as well before returning a cursor type. Im pretty sure I can figure this out, but im not sure the best way to design the tables. Initially we have a big description field that would have to be searched with the big union above. This seems to me like it would take lots of time and I don't think indexing the description field would do any good. I also thought of breaking the description field down into single words with id's attached so I can use equajoins instead of likes. Then I could index the varchar2 field, but it would be adding a ton of rows. Have you ever done this sort of thing or know anyone who has?
I appreciate your help...
Dave
I appreciate your help...
Dave