INTERMEDIA TEXT - INSO FILTER의 사용방법과 한글 설정

제품 : ORACLE SERVER
작성날짜 : 2003-02-05
INTERMEDIA TEXT - INSO FILTER의 사용방법과 한글 설정
====================================================
Purpose
Intermedia text에서 INSO filter를 사용할 때 한글을 설정하여 이용하는
방법을 알아보자.
Explanation
INSO Filter 에는 자체적인 속성이 없기 때문에, 한글 환경을 설정하기
위해서는 ‘ctxhx’에 적절한 입력 값을 제공하는 새로운 script 를 만
들어야 한다. 그 방법은 다음 두 과정을 거쳐야 한다.
첫번째, 새로운 shell script 작성 : ctxhx 에 원하는 매개 변수 설정
두번째, INSO_FILTER 대신 USER_FILTER 를 사용하여 작성한 script 를
command로 설정
다음은 INSO filter 를 이용하여 한글 문서를 검색하는 과정을 보여준다 .
데모 환경은 다음과 같다 .
* KOREAN_LEXER 사용
* Acrobab PDF, Word97, PPT97, Excel, Html 문서 검색
* 한글 검색을 위해 , INSO Filter 를 변형한 USER_FILTER 사용
1. 한글 검색 용 INSO Filter 생성
다음은 INSO Filter‘ctxhx’를 이용하여 한글 문서를 필터링하도록
'autofilt'의 내용이다. 이 파일은 실행 권한이 주어져야 한다.
$ cd $ORACLE_HOME/ctx/bin
$ vi autofilt
#!/bin/sh
$ORACLE_HOME/ctx/bin/ctxhx $1 $2 hangeul koreanhangul T
$ chmod 777 autofilt
* NT의 경우
메모장 등으로 oracle_home\ctx\bin directory에 autofilt.bat 라는
이름의 화일을 다음과 같이 생성한다.
oracle_home 이 E:\ora815 인 경우
set oracle_home=E:\ORA815
E:\ora815\ctx\bin\ctxhx.exe %1 %2 hangeul koreanhangul T
2. 테이블 생성
SQL> create table mydocs (
2 docid number primary key,
3 title varchar2(256),
4 fname varchar2(30),
5 document blob );
3. Pro*c 나 sql*loader등을 이용하여 long raw 또는 blob type에
file을 입력한다.
[예제] sql*loader를 이용한 방법
sql*loader를 이용하여 , ‘mydocs’ 테이블에 있는 BLOB 에 5개의 문서를
입력하기 위한 과정을 위해 쓰이는 file들은 다음과 같다.
* controlfile : mydocs.ctl
INFILE 'mydocs.dat'
FIELDS TERMINATED BY ";"
optionally enclosed by '"'
(docid, title, fname,
ext_fname filler char(40),
document lobfile(ext_fname)
terminated by eof )
* datafile : mydocs.dat
0; ConText Cartridge Datasheet ; context.pdf ; context.pdf
1; Image/Vir Cartridge 소개 ; img_vir.ppt ; img_vir.ppt
2; Oracle Video Server 소개 ; ovs 소개 .doc ; ovs 소개 .doc
관리 시스템 ; kms.html ; kms.html
4; Oracle8i New Feature ; oracle8i.xls ; oracle8i.xls
* sql*loader의 실행
$ sqlldr userid=ctxdemo/ctxdemo control=mydocs.ctl data=mydocs.dat direct=no
4. Indexing Object 의 생성
* 한글 검색을 위해 KOREAN_LEXER preference 를 사용
* autofilt 를 필터링에 쓰이는 명령어로 하는 USER_FILTER preference 사용
SQL> begin
2 ctx_ddl.create_preference('MYDOCS_LEXER', 'KOREAN_LEXER');
3 ctx_ddl.create_preference('MYDOCS_FILTER', 'USER_FILTER');
4 ctx_ddl.set_attribute('MYDOCS_FILTER', 'command', 'autofilt');
5 end;
6 /
PL/SQL procedure successfully completed.
* NT인 경우 아래와 같이 attribute를 지정해야 한다.
ctx_ddl.set_attribute('MYDOCS_FILTER', 'command', 'autofilt.bat');
이제 위에서 정의된 indexing object 들을 이용하여 ,
mydocs 의 document field 에 Text index를 생성하는 과정을 보여준다 .
SQL> create index mydocs_document_index
2 on mydocs(document) indextype is ctxsys.context
3 parameters('lexer mydocs_lexer
4 filter mydocs_filter');
Index created.
5. 데이타 조회
* '비디오'와 '서버'를 포함한 문서의 검색 결과를 보여 준다 .
SQL> select ctxsys.score(0) scr, docid, title, fname
2 from mydocs
3 where ctxsys.contains(mydocs.document, '비디오 and 서버 ',0) > 0 ;
SCR DOCID TITLE FNAME
38 2 Oracle Video Server ovs소개.doc
1 row selected.
* BLOB 에 들어 있는 Word97 문서를 필터링한 결과를 출력하는 과정을 보여준다.
SQL> create table
2 query_id number,
3 document clob);
Table created.
SQL> exec CTX_DOC.FILTER('mydocs_document_index', 2, 'filtertab', 0);
PL/SQL procedure successfully completed.
SQL> select document from filtertab;
DOCUMENT
Oracle Video Server 소개
.....

Similar Messages

  • InterMedia Text with USER_DATASTORE and ORA-03113

    Hi,
    I have problems using Oracle's InterMedia Text-index with a
    USER_DATASTORE. I'm using Oracle 8.1.7 on Windows NT 4.0.
    What I try to do is to create a context-index on multiple columns
    of multiple tables. I created a table containing the original
    tablenames and primary keys plus a char(1)-column to index, a
    user_datastore, a procedure in a user-schema, a
    wrapping-procedure in ctxsys' schema and finally the index. All
    works fine so far but I get an ORA-03113 "end-of-file on
    communication channel" error when querying the table with
    contains. The procedure itself works.
    Here's what I tried in detail:
    I created a table "alldocs" containing the tablename and
    primary-key-value of each line of each table plus a dummy-column
    for the index:
    create table alldocs(
    table varchar2(30) not null,
    id number not null,
    data char(1),
    primary key(tabelle, id)
    I filled this table:
    insert into alldocs (select 'MYDOCS', id, 'a' from mydocs);
    insert into alldocs (select 'OTHERDOCS', id, 'b' from otherdocs);
    The user's procedure - only dummy for testing - is:
    create procedure test.GetAllDocsData(row IN ROWID, data IN OUT
    NOCOPY CLOB) IS
         tabname varchar2(30);
         myid     number;
         tmpclob clob;
    begin
         dbms_lob.createtemporary(tmpclob, TRUE);
         dbms_lob.writeappend(tmpclob, 34, 'Ein Text mit ca. 20
    Zeichen Ldnge.');
         data := tmpclob;
    end;
    In ctxsys' schema I defined the following procedure and the
    datastore:
    create or replace procedure sysGetAllDocsData(rid in rowid, tlob
    in out clob) is
    begin
    test.GetAllDocsData(rid, tlob);
    end sysGetAllDocsData;
    grant execute on sysGetAllDocsData to test;
    call ctx_ddl.create_preference('MyUserDS', 'user_datastore');
    call ctx_ddl.set_attribute('MyUserDS', 'procedure',
    'sysGetAllDocsData');
    call ctx_ddl.set_attribute('MyUserDS', 'output_type', 'CLOB');
    Finally I defined the index:
    create index test.alldocs_ctx on test.alldocs(data)
         indextype is ctxsys.context
         parameters ('DATASTORE CTXSYS.MyUserDS FILTER
    CTXSYS.INSO_FILTER LEXER BASIC_LEXER');
    This all works without errors. But when querying like this:
    select * from test.alldocs where contains('data', 'Text')>0
    the answer is
    ORA-03113: end-of-file on communication channel
    I hope someone can help.
    Greetings
    Ralf

    Hi Ralf,
    please define first your own preferences like this:
    exec CTX_DDL.drop_preference('MY_LEXER');
    exec CTX_DDL.create_preference('MY_LEXER','BASIC_LEXER');
    exec CTX_DDL.set_attribute('MY_LEXER','ALTERNATE_SPELLING',
    'GERMAN');
    exec CTX_DDL.set_attribute('MY_LEXER','BASE_LETTER','YES');
    exec CTX_DDL.set_attribute('MY_LEXER','MIXED_CASE', 'NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_THEMES','NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_TEXT', 'YES');
    exec CTX_DDL.set_attribute('MY_LEXER','COMPOSITE', 'GERMAN');
    exec ctx_ddl.Drop_Preference ('MY_FILTER');
    exec ctx_ddl.Create_Preference ('MY_FILTER','NULL_FILTER');
    exec ctx_ddl.drop_section_group ('MY_SECTION');
    exec ctx_ddl.create_section_group
    ('MY_SECTION','NULL_SECTION_GROUP');
    and then create your index with this preferences. You only need
    an INSO filter if you want to index pdf,word,...
    create index test.alldocs_ctx on test.alldocs(data)
         indextype is ctxsys.context
         parameters ('DATASTORE CTXSYS.MyUserDS FILTER
    CTXSYS.INSO_FILTER LEXER BASIC_LEXER');create index test.alldocs_ctx on test.alldocs(data)
         indextype is ctxsys.context
         parameters ('
    DATASTORE CTXSYS.MyUserDS
    lexer MY_LEXER
    filter MY_FILTER
    section group MY_SECTION');
    Then see in the token table what tokens are in the index:
    select token_text from dr$alldocs_ctx$i;
    If you got also an ORA-3113 see in alert.log if there is a trace
    referenced with this error and have a look in this file to find a
    better error message.
    Good luck.
    Thomas

  • INSO-filter doesn't work correct with german special characters in pdf-files

    During testing the interMedia Text I watched that some words from pdf-files are not indexed. That's why I use the INSO-filter at the DOS command-line:
    ctxhx xxx.pdf xxx.txt <<The xxx.pdf-file includes the phrase:
    "... generell |berwiegende vffentliche Interessen im Sinne ..."
    The result in the xxx.txt-file is:
    "... generell |berwiegende Interessen im Sinne ..."
    The word "vffentliche" is lost. Is this a bug in INSO-filter or an incorrect using?
    Thanks for helping.
    Michael

    Actually, The inso filters do not even work for me for PDF file versions 1.2+. Is anyone else experiencing the same difficulties ? How often does Oracle update the INSO filters to keep up with vendors (Adobe/Microsoft) coming out with newer versions of their document products ?
    null

  • How to set enviroment variables for Inso Filter

    Hi everyone,
    I want to convert word documents to html using CTX_DOC.Filter.According to the documentation,I know I neednot set the 'Inso Filter'in the preference when creating index,but I must set enviroment variables for Inso Filter.
    I found the following instructions for it in the 8.1.5 documentation,but I can't understand it well.Is there anyone can tell me how to set enviroments variables for Inso Filter on Windows2000 Server?(My DB version is 8.1.7EE)
    Environment Variable Locations
    All environment variables related to Inso filtering must made visible to interMedia Text. Set these variables in the following locations:
    listener.ora file. This makes the environment variables visible to the extproc PL/SQL process.
    The operating system shell from where ctxsrv server is started. This makes the environment variables visible to the ctxsrv process, which does background DML.
    Any suggestions are apreciated
    Reemon
    null

    NSAPI plugins are normally configured using parameters specified in magnus.conf and/or obj.conf. What plugin requires you set an environment variable?

  • Using intermedia text

    Hello,
    I'm working on a website at the moment which is cgi based and has an Oracle 8i backend.
    On this website users can upload word documents etc into an knowledge base. These documents are physically held on the file system
    What I want to do is to upload the documents to an Oracle table and then use intermedia text to search on these documents. I would like to avail of intermedia Themes & Gists and the "ranking" system it uses. In other words I would like the search to return something similar to the search results you find in Oracle Portal.
    Any information on how to incorporate oracle intermedia into an existing cgi based website would be much appreciated.
    thank you.
    aidan

    Hi,
    For documentation see here on technet: products -> Oracle Text.
    You don't have to load the documents into the database when they are already in the filesystem.
    You can create a table with an entry for each filename.
    Here is a sample script for FILE_DATASTORE with INSO FILTER (for filtering word and other documents).
    =========================================================
    -- Sample INSO Filter and FileDatastore
    drop table datastores;
    create table datastores(id number primary key, docs varchar2(2000));
    insert into datastores values(1,'whitepaper.pdf');
    commit;
    -- Create Preferences
    exec CTX_DDL.drop_preference('MY_LEXER');
    exec CTX_DDL.create_preference('MY_LEXER','BASIC_LEXER');
    exec CTX_DDL.set_attribute('MY_LEXER','BASE_LETTER','YES');
    exec CTX_DDL.set_attribute('MY_LEXER','MIXED_CASE', 'NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_THEMES','NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_TEXT', 'YES');
    exec ctx_ddl.drop_section_group ('MY_SECTION');
    exec ctx_ddl.create_section_group ('MY_SECTION','NULL_SECTION_GROUP');
    exec ctx_ddl.drop_preference('COMMON_DIR');
    exec ctx_ddl.create_preference('COMMON_DIR','FILE_DATASTORE');
    exec ctx_ddl.set_attribute('COMMON_DIR','PATH','/tmp/pdf');
    exec Ctx_Ddl.Drop_Preference ('inso_filter_pref');
    exec Ctx_Ddl.Create_Preference ('INSO_FILTER_PREF', 'INSO_FILTER');
    -- Create Text Index
    -- drop index datastores_text;
    exec ctx_output.start_log('index.log');
    create index datastores_text on datastores (docs)
    indextype is ctxsys.context
    parameters ('datastore COMMON_DIR
    filter INSO_FILTER_PREF
    lexer MY_LEXER
    section group MY_SECTION
    memory 50M');
    exec ctx_output.end_log;
    select count(*) from dr$datastores_text$i;
    select token_text from dr$datastores_text$i;

  • Using InterMedia Text with FrameMaker, StarOffice...

    I'm planning to use InterMedia text with various kinds of documents, but inso filter does not support them. In particular, it does not support:
    - Framemaker
    - PostScript (I know it works on encapsulated PostScript)
    - Applix
    Where can I find the right filters?
    Is there a way to use InterMedia text with these documents?
    Thank you
    Paolo Bonanomi

    I'd suggest searching the web - there are a number of little freeware filters out there that could be used as user-filters.>Have anybody found a postscript filter and can post it here ?
    Regards,
    Mihai

  • Problems clause within (Intermedia text)

    I have problems using the clause within in a XML file. I suspect that is impossible for the intermedia text to find words within tags with attributes, could you help me, my friend?
    Thanks a lot.
    And Merry Christmas.

    Hi Ralf,
    please define first your own preferences like this:
    exec CTX_DDL.drop_preference('MY_LEXER');
    exec CTX_DDL.create_preference('MY_LEXER','BASIC_LEXER');
    exec CTX_DDL.set_attribute('MY_LEXER','ALTERNATE_SPELLING',
    'GERMAN');
    exec CTX_DDL.set_attribute('MY_LEXER','BASE_LETTER','YES');
    exec CTX_DDL.set_attribute('MY_LEXER','MIXED_CASE', 'NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_THEMES','NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_TEXT', 'YES');
    exec CTX_DDL.set_attribute('MY_LEXER','COMPOSITE', 'GERMAN');
    exec ctx_ddl.Drop_Preference ('MY_FILTER');
    exec ctx_ddl.Create_Preference ('MY_FILTER','NULL_FILTER');
    exec ctx_ddl.drop_section_group ('MY_SECTION');
    exec ctx_ddl.create_section_group
    ('MY_SECTION','NULL_SECTION_GROUP');
    and then create your index with this preferences. You only need
    an INSO filter if you want to index pdf,word,...
    create index test.alldocs_ctx on test.alldocs(data)
         indextype is ctxsys.context
         parameters ('DATASTORE CTXSYS.MyUserDS FILTER
    CTXSYS.INSO_FILTER LEXER BASIC_LEXER');create index test.alldocs_ctx on test.alldocs(data)
         indextype is ctxsys.context
         parameters ('
    DATASTORE CTXSYS.MyUserDS
    lexer MY_LEXER
    filter MY_FILTER
    section group MY_SECTION');
    Then see in the token table what tokens are in the index:
    select token_text from dr$alldocs_ctx$i;
    If you got also an ORA-3113 see in alert.log if there is a trace
    referenced with this error and have a look in this file to find a
    better error message.
    Good luck.
    Thomas

  • Intermedia text (oracle text) and excel

    Hi,
    is it possible to index just one single sheet instead of the whole excel-workbook in
    oracle text? Or is it possible to name just one sheet (e.g. table1) in a 'contains'
    query? Additionally, is it possible to searc for the number of occurences of a term
    within one document (i.e. excel-sheet)? Thanks for your help in advance.
    Best Regards,
    Dan

    Hi Dan,
    is it possible to index just one single sheet instead of the whole excel-workbook in
    oracle text? No
    Or is it possible to name just one sheet (e.g. table1) in a 'contains'
    query?No
    Additionally, is it possible to searc for the number of occurences of a term
    within one document (i.e. excel-sheet)? Thanks for your help in advance.I am not sure at the moment, maybe with some kind of rankin.
    The problem is the the INSO-filter converts the excel file to a html file and oracle is reading this generated file. And in file there is no information about excel sheets.
    Regards,
    Thomas

  • INSO filter Arabic support

    Anyone know if the INSO filter supports Arabic Microsoft Word documents? I'm using 9.2.0.5.0 on Windows, my index type is ctxsys.context and the lexer is the default lexer. I couldn't find any info on the language support in the release notes. Other language Word documents seem to work okay (e.g. Chinese, Japanese, Thai, Swedish, Icelandic).

    Info on language support is in the user guide and reference, as well as the following doc:
    http://www.oracle.com/technology/products/text/pdf/appendix.pdf
    1) You stated that you are using the 'default' lexer. What lexer(s) are you using? The fact that you have Chinese, Japanese, and more languages being indexed (with no problems) indicates to me that you are using the multi_lexer as well as language specific lexers (unless you are on a newer release using the world_lexer). Please clarify.
    2) I doubt your issue is with the word doc and the inso filter, but rather the text contained therein, and the ability of whatever lexer you are using to create appropriate tokens. We'll know better with your answer to #1.
    3) I'd recommend you look at the user_lexer for Arabic once you find out the answer to #1. If you are on 10g, look at the WORLD_LEXER which supports Arabic.
    Thanks,
    Ron

  • Inso filter...not sure how to test config. on server

    I am running oracle 8.1.6 on a solaris 2.6 machine and I have created a table, inserted blob data in, but can't seem to get my index to return any rows....
    I have modified the $path and the $home environment varibles in my oracle user profile, should I have done this as the system (root) user?? How can I make sure that my configuration on the server is correct...I need to narrow down my problem and think this is the best place to start! HELP!!! :)

    Ok, here is my scripts to create the table and the index, my objective is to store word doc. into a blob, then be able to use the inso filter to search the text....
    CREATE TABLE resume
    (resume_id NUMBER(10)
    ,resume_text BLOB);
    ALTER TABLE resume
    ADD CONSTRAINT pk_resume PRIMARY KEY (resume_id);
    BEGIN
    ctx_ddl.drop_preference
    (preference_name => 'inso_filter_pref');
    END;
    BEGIN
    ctx_ddl.create_Preference ( preference_name =>
    'INSO_FILTER_PREF', object_name => 'INSO_FILTER' );
    END;
    CREATE INDEX i_resume1 ON resume ( resume_text )
    INDEXTYPE IS ctxsys.context
    PARAMETERS ('filter inso_filter_pref')
    null

  • How do I use XSLT & XML is stored in InterMedia Text.....

    I use interMedia Text to store XML document. How do I use the XSLT Processor API to transform the data which is searched by XML SQL Utility??
    //***Source Code
    public Document xmlquery(String tabName,String xslfilename)
    Document xmlDocToReturn = null;
    String xmlString;
    try
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    //initiate a JDBC connection
    // initialize the OracleXMLQuery
    OracleXMLQuery qry = new OracleXMLQuery(conn,"select XML_TEXT from bookstore where contains (xml_text,'John WITHIN authorsec')>0");
    // structure the generated XML document
    qry.setMaxRows(2);
    // set the maximum number of rows to be returned
    // get the XML document in string format
    xmlString = qry.getXMLString();
    // print out the XML document
    System.out.println(" OUTPUT IS:\n"+xmlString);
    // get the XML document in string format
    xmlDocToReturn = qry.getXMLDOM();
    conn.close();
    catch (SQLException e) {
    return xmlDocToReturn;
    xml = (XMLDocument)query.xmlquery(args[1],args[0]);
    // Instantiate the stylesheet
    XSLStylesheet xsl = new XSLStylesheet(xsldoc, xslURL);
    XSLProcessor processor = new XSLProcessor();
    // Display any warnings that may occur
    processor.showWarnings(true);
    processor.setErrorStream(System.err);
    // Process XSL
    DocumentFragment result = processor.processXSL(xsl, xml);
    Thank you.
    null

    Your problem here is that when you store an XML document in a CLOB and search it using intermedia, when you do a query like:
    SELECT xml_text
    FROM bookstore
    WHERE CONTAINS(xml_text,'John WITHIN authorsec')>0
    The output from the XML SQL Utility using getXMLDOM() looks like this:<ROWSET>
    <ROW>
    <XML_TEXT><![CDATA[
    <bookstuff>
    <authorsec>
    <name>Steve</name>
    </authorsec>
    etc.
    </bookstuff>
    ]]>
    </XML_TEXT>
    </ROW>
    </ROWSET>with the document as a single text value (it's actually just a text node, not a CDATA node) but the above illustrates conceptually that the whole XML document is one big text node.
    To transform this you'll need to parse that XML text into an XML document in memory by passing constructing a StringReader() on the text value and parsing that reader.
    null

  • Intermedia text search error for file system

    I would like to search a text from a file. store in the file system. I have done the following procedures but when i create i get error.
    BEGIN
    CTX_DDL.CREATE_PREFERENCE('search_docroot_pref','FILE_DATASTORE');
    CTX_DDL.SET_ATTRIBUTE('search_docroot_pref','path','c:/temp/abc');
    END;
    Now when i create INDEX with following syntex
    CREATE INDEX mysearch_ind ON mytable(mycolumn) INDEXTYPE IS
    CTXSYS.context parameters('datastore search_docroot_pref');
    I get the following errors.
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    DRG-50704: Net8 listener is not running or cannot start external procedures
    ORA-28575: unable to open RPC connection to external procedure agent
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1
    Can any body tell me where i am wrong.
    Thanks,

    Hi
    I was aslo facing same problem.My net8 connection and listner is aslo ok. but getting same errors.
    Raju

  • Strange: Conditional Error in Intermedia Text Index Creation

    Hi All,
    I am facing a strange error while creating the Intermedia Text index on 8.1.6 release for NT 4.0.
    I have one database instance installed on the server. When i connect to Oracle through SQL plus as: connect username/password;
    The index creation works fine!
    But, if i connect using: username/password@servicename;
    The index creation does not work!
    The following error occurs.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000:intermedia Text error:
    ORA-50704:Net8 listener is not running or cannot start external procedures
    ORA-28575:unable to open RPC connection to external procedure agent
    ORA-12154:TNS:could not resolve service name
    ORA-06512:at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512:at line 1
    Could anyone please help as to why it works without when connected without the service name but not otherwise?
    Thanking you in advance!
    Thanks and Regards
    Anurag Agarwal

    Hi All,
    I am facing a strange error while creating the Intermedia Text index on 8.1.6 release for NT 4.0.
    I have one database instance installed on the server. When i connect to Oracle through SQL plus as: connect username/password;
    The index creation works fine!
    But, if i connect using: username/password@servicename;
    The index creation does not work!
    The following error occurs.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000:intermedia Text error:
    ORA-50704:Net8 listener is not running or cannot start external procedures
    ORA-28575:unable to open RPC connection to external procedure agent
    ORA-12154:TNS:could not resolve service name
    ORA-06512:at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512:at line 1
    Could anyone please help as to why it works without when connected without the service name but not otherwise?
    Thanking you in advance!
    Thanks and Regards
    Anurag Agarwal

  • Intermedia Text/Hide Tags.

    I use intermedia text to store files with tags like internet (i.e <Start> bla ..</End>.
    I use developer 6 to search and retrive information, but developer show me the tags,
    How can I do to hide the tags?
    Thanks for the help.
    Regards.
    null

    Hi Sanjoy,
    Please post your question in the following discussion forum.
    Multimedia (formerly interMedia)
    Regards,
    Anupama

  • InterMedia Text Search results

    We have interMedia Text enabled on our 3.0.9.8.2 install and, for Search Results, I need to understand how the percentage score is calculated and, if results have the same score, how the order is determined. Is it possible to reorder the results because it appears to be random? Can anyone point me to the relevant documentation?

    So Stephen, if I understand correctly, you have URL items, where the URL references the content in the IFS repository. This means that these items are being indexed by the WWSBR_URL_CTX_INDX. It'd be interesting to see if the results are returned as you would expect them to be using this index alone. This will tell you if there is a problem with Intermedia Text or if the problem lies with the way that Portal is using Intermedia Text and combining the scores from the multiple indexes.
    Try running a SQL query like
    select i.title, score(10) scr from wwv_things i, wwsbr_url$ u
    where i.id=u.object_id
    and contains (u.absolute_url,'${oracle}',10) > 0
    order by scr desc
    This will match your search term against only text which was indexed by the URL index and returns the display name of the corresponding item. Here I've searched for the term 'oracle'; change this to whatever you were using in your testcase. Note also that the $ implies the stem operator which is used by default in Portal.
    If this query doesn't return you the scores that you were expecting then the problem is to do with the way that Intermedia Text is indexing your PDF documents. If it does return what you'd expect then we need to look more closely at what Portal is doing with the scores.

Maybe you are looking for