Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> intermedia - create and drop synonyms

intermedia - create and drop synonyms

From: Daniel Garant <danielg_at_conceptis.com>
Date: Tue, 16 Jul 2002 11:51:11 -0800
Message-ID: <F001.004998C4.20020716115111@fatcity.com>


Hi,

I'm having problems with intermedia for synonyms in the thesaurus. Here a list of request that I execute and that order and their results:

select ctx_thes.SYN('disease','gdermthes_md') from DUAL;
{DISEASE}|{SICKNESS}|{MALADIE1}
execute
CTX_THES.DROP_RELATION('gdermthes_md','DISEASE','SYN','maladie1');

select ctx_thes.SYN('disease','gdermthes_md') from DUAL;
{DISEASE}
execute
CTX_THES.CREATE_RELATION('gdermthes_md','maladie1','SYN','DISEASE');

select ctx_thes.SYN('disease','gdermthes_md') from DUAL;
{DISEASE}|{SICKNESS}|{MALADIE1}
The problem is that when I remove the relationship between disease and maladie1, I lose sickness as well in my synonyms for disease. On the other hand, if I reverse the order of my parameters in the drop_relation like that:

execute
CTX_THES.DROP_RELATION('gdermthes_md','maladie1','SYN','disease');

If works correctly. That creates a problem for me because for every other relationship types, it's always source term first and target term second. I'm trying to write generic code to handle those tasks and I don't want to do a special case for synonyms.

Thanks for any help.  

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Daniel Garant
  INET: danielg_at_conceptis.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jul 16 2002 - 14:51:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US