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

Home -> Community -> Usenet -> c.d.o.misc -> interMedia Text setup problems

interMedia Text setup problems

From: Tim Frith <timfrith_at__home.com>
Date: Fri, 14 Jan 2000 00:46:25 GMT
Message-ID: <Bluf4.6588$Fy3.388515@news1.gvcl1.bc.home.com>


I'm using Oracle 8i on Windows NT. I want to be able to do full-text searches on the contents of documents whose URL is saved in one of my tables. I can't seem to get any results after setting up interMedia Text and creating my index.

Here's the SQL I used to create the index:

CREATE INDEX documentIndex ON FormattedDocument(location) INDEXTYPE IS ctxsys.context
PARAMETERS('
datastore ctxsys.URL_DATASTORE
filter ctxsys.INSO_FILTER');

Here's a sample query that should return a few records: SQL> SELECT documentId, SCORE(1) score from formatteddocument   2 WHERE CONTAINS(location, 'bylaw', 1) > 0;

no rows selected

Execution Plan


   0      SELECT STATEMENT Optimizer=CHOOSE (Cost=1.1 Card=1 Bytes=100
          )

   1    0   TABLE ACCESS (BY INDEX ROWID) OF 'FORMATTEDDOCUMENT' (Cost
          =1.1 Card=1 Bytes=100)

   2    1     DOMAIN INDEX OF 'DOCUMENTINDEX' (Cost=1)




Statistics


        299  recursive calls
         15  db block gets
         99  consistent gets
          0  physical reads
          0  redo size
       2434  bytes sent via SQL*Net to client
       2364  bytes received via SQL*Net from client
         13  SQL*Net roundtrips to/from client
          5  sorts (memory)
          0  sorts (disk)
          0  rows processed


Here are portions of my sqlnet.ora, tnsnames.ora, listener.ora:

sqlnet.ora:



SQLNET.EXPIRE_TIME = 0 AUTOMATIC_IPC = ON tnsnames.ora:

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)

    )
  )

listener.ora:



LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
(ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
      )

    )
    (DESCRIPTION =
(PROTOCOL_STACK =
        (PRESENTATION = GIOP)
        (SESSION = RAW)
      )

(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 2481))
    )
  )

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\Oracle\OraHome)
(PROGRAM = extproc)

    )
  )



Here is my test of External Procedure support: D:\Oracle\OraHome\BIN>tnsping EXTPROC_CONNECTION_DATA

TNS Ping Utility for 32-bit Windows: Version 8.1.5.0.0 - Production on 13-JAN-00 14:41:14

(c) Copyright 1997 Oracle Corporation. All rights reserved.

Attempting to contact (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)) OK (40 msec)

Any help would be appreciated.

Tim Received on Thu Jan 13 2000 - 18:46:25 CST

Original text of this message

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