Problem: Ora8, ConText 2.3 & external filters on NT

From: Oliver Pistor <pistor_at_dsa-gmbh.de>
Date: 1998/03/27
Message-ID: <351c2025.1820769_at_news.uni-heidelberg.de>#1/1


Hi Dmitry,

I have your eMail from your posting in oracle.tools. Unfortunately, I don't have a solution for
your problem. But you seem to be one of the 'few good men' working with ConTExt ;-)

Maybe you could give my a hint for my problem:

I'm currently working on an Intranet Project using Ora 8 & ConText 2.3 (on Win NT 4, SVP 3)

Unfortunately, I'm stuck since 3 days (!) with a strange problem concerning
the ConText Cartridge and external filters:

I just can't get the external filters to work. Using internal filters, e.g. for WinWord,
everything works fine. But using the 'USER FILTER' tile with the
'command' attribute doesn't work.
The filters themselves work fine (e.g. acront for adobe pdf) in a DOS Box, but not within
ConText (One-Step Queries started from SQL Plus).

Basically, what I'm doing is:

exec ctx_ddl.set_attribute('COMMAND','acropdf.bat'); exec ctx_ddl.create_preference('pdf1_filt', 'pdf external filter',
'USER FILTER');

exec ctx_ddl.create_policy (policy_name => 'oli2_pdf', colspec =>
'search.doc', source_policy => 'ctxsys.template_direct', textkey =>
'pk', filter_pref => 'pdf1_filt');

exec ctx_ddl.create_index('oli2_pdf');

select score(1), pk, title from search where contains( doc, 'cowboy', 1) > 0;

exec ctx_ddl.drop_index('oli2_pdf');
exec ctx_ddl.drop_policy('oli2_pdf');
exec ctx_ddl.drop_preference('PDF1_FILT');


Any hints are highly appreciated.

Thanx a lot

Oliver Received on Fri Mar 27 1998 - 00:00:00 CET

Original text of this message