| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> interMedia Text setup problems
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:
listener.ora:
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(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)
)
)
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
![]() |
![]() |