If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Excalibur datablade

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-21-09, 20:30
gompuok gompuok is offline
Registered User
 
Join Date: Oct 2008
Posts: 12
Unhappy Excalibur datablade

Hello all, Im looking for Excalibur text search expert here to give me some advice on what I'm currently doing.

OK, is there any way of optimizing below search queries. I mean what would be the best way to do that;

select name from users where etx_contains(name, row('Albert'))
union
select status from profiles where ext_contains(status, row('complicated'))
union
select name,district from districts, users where etx_contains(district, row('California'))
and users.district_id = districts.id

From my experience, Excalibur doesn't have its own way to do search on multiple/join tables. So what I did is just like above queries. Is there any way of doing this in much better way ? Sorry for my English.

Any help are much appreciated.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On