Metamorph Inverted Index

Post Reply
kzinda
Posts: 62
Joined: Fri Nov 30, 2001 6:18 am

Metamorph Inverted Index

Post by kzinda »

How do I determine how many characters the indexing is set for? I am using a script that someone else developed and I would like to make sure indexing is set to one character.

Also, was is the command I need to execute on the command line to get the information?
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Metamorph Inverted Index

Post by John »

There should be an addexp before the create index command to define what constitutes a word.
John Turnbull
Thunderstone Software
kzinda
Posts: 62
Joined: Fri Nov 30, 2001 6:18 am

Metamorph Inverted Index

Post by kzinda »

I don't see in the manual how this is specified. Are you suggesting?

drop index PATN_DRWD_PAx_MI;
REX addexp \alnum{1,99};
create METAMORPH INVERTED index PATN_DRWD_PAx_MI on PATN(DRWD_PAx,PATN_ISD);
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Metamorph Inverted Index

Post by John »

More like:

drop index PATN_DRWD_PAx_MI;
set addexp= '\alnum{1,99}';
create METAMORPH INVERTED index PATN_DRWD_PAx_MI on PATN(DRWD_PAx,PATN_ISD);

They should all run in the same process.
John Turnbull
Thunderstone Software
Post Reply