Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Google Type Search

masammoJun 2 2009 — edited Jun 3 2009
Hello All Group Members/Experts
I want to build a google type search engine on a multi table database. where a user can search an employee by typing any text. Result set should be the list of all those employees whose records may have the text in any field of any table.

I was planning on combining all fields in each record in a string delaminated by a space or any other charcter , then break the search criteria down into individual words and have a LIKE clause for each.
for example

select EMP_ID, NAME || ' ' || ADDRESS || ' ' || PHONE_NO as TEXT from employee

select EMP_ID, PROPERTY || PROPERTY_ADDRESS TEXT from emp_property

This seems like allot of processing though, concerned about efficiency.

Any one can help? to provide a better technique.... Please
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2009
Added on Jun 2 2009
3 comments
465 views