| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Intermedia Text 8.1.7.2 Generating Incorrect Highlights
We're using CTX_DOC.HIGHLIGHT to generate highlight offsets for full-text
query results. For the first few pages the highlight offsets are correct
but begin to creep down the page after about the 10th hit (the offset
returned by Oracle is at position 700, for example, but should be 698).
Interestingly, CTX_DOC.MARKUP works correctly.
Oracle support hasn't been helpful so far. The support tech references bug number 1846487, but I can't find it on Metalink.
Database version is 8.1.7.2 running under Solaris 8.
Any help is appreciated.
Here's our script:
begin
ctx_ddl.create_preference('tob_doc_md','DETAIL_DATASTORE');
ctx_ddl.set_attribute('tob_doc_md','detail_table','OCR');
ctx_ddl.set_attribute('tob_doc_md','detail_key','ADS_UDI');
ctx_ddl.set_attribute('tob_doc_md','detail_lineno','ADS_PAGE');
ctx_ddl.set_attribute('tob_doc_md','detail_text','TEXT');
end;
create index doc_main_idx on doc_main(text) indextype is ctxsys.context parameters('datastore tob_doc_md'); Received on Sat Sep 15 2001 - 08:45:59 CDT
![]() |
![]() |