Oracle Text はもともと全文検索のための仕組みなので、改行文字やタブ文字などは、単語の区切りとして認識されるだけで、検索の対象からは除外されるのです。言語処理を意識しない、単純な部分文字列検索を実行したいのであれば、Oracle Textではなく、別の仕組みを検討する方がいいかもしれません。
また、「PANDA」を「AND」で検索したい場合には、
SELECT 列名リスト FROM テーブル名 WHERE CONTAINS (列名, '%AND%') > 0;
でOKです。
/* ユーザ作成 */
connect / as sysdba
create user ctxtest identified by ctxtest;
grant connect, resource, ctxapp to ctxtest;
/* テスト用テーブル作成 */
connect ctxtest/ctxtest
create table testtab (id number primary key, text varchar2(4000));
insert into testtab values (1, 'This is a pen.');
commit;
/* テキスト索引作成 */
create index testtabidx on testtab (text)
indextype is ctxsys.context
parameters ('
lexer ctxsys.basic_lexer
');
/* 検索 */
select id, text from testtab where contains (text, 'a pen') > 0;
--> ヒット
select id, text from testtab where contains (text, 'the pen') > 0;
--> ヒット
/* テキスト索引作成 */
create index testtabidx on testtab (text)
indextype is ctxsys.context
parameters ('
lexer ctxsys.basic_lexer
stoplist ctxsys.empty_stoplist
');
/* 検索 */
select id, text from testtab where contains (text, 'a pen') > 0;
--> ヒット
select id, text from testtab where contains (text, 'the pen') > 0;
--> ヒットせず
「CTXSYS.PATH_SECTION_GROUP」は、システム定義プリファレンスの1つです。
DB 10.2 のマニュアルでは、以下の箇所に載っています。
http://otndnld.oracle.co.jp/document/products/oracle10g/102/doc_cd/text.102/B19214-01/cdatadic.htm#i1009772