17.05.2014 Views

PDFlib Text Extraction Toolkit (TET) Manual

PDFlib Text Extraction Toolkit (TET) Manual

PDFlib Text Extraction Toolkit (TET) Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

these options on the command line. In the following example we use localhost as<br />

host name, port number 1521, xe as database name, and HR as user name and password<br />

(adjust as appropriate for your database configuration):<br />

ant -Dtet.jdbc.connection=jdbc:oracle:thin:@localhost:1521:xe<br />

-Dtet.jdbc.user=HR -Dtet.jdbc.password=HR<br />

> Update the index (required initially and after adding more documents):<br />

SQL> execute ctx_ddl.sync_index('tetindex_b')<br />

> Query the database using the index:<br />

SQL> select * from pdftable_b where CONTAINS(pdffile, 'Whitepaper', 1) > 0;<br />

> Optionally clean up the database (remove the index and table):<br />

SQL> @tetcleanup_b.sql<br />

4.4 <strong>TET</strong> Connector for Oracle 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!