I am trying to debug some changes to our "set addexp=..." rex expressions for our metamorph indexes. I have coded a small Rex tester Vortex script and web page to test that the revised addexp's do in fact match samples of the text we are trying to index. We want to ensure that small hyphenated words such as M-16 and F-14 get indexed. Here are the addexp's:
<sql "set addexp='\alnum+[\x27.&\^\-]=\alnum+'"><\sql>
<sql "set addexp='\P\space=[\alpha]+:=[^\n]+'"><\sql>
Note that we are adding these to the default \alnum{2,99} and that the \- in the 1st addexp above is supposed to match M-16 and F-14 and it works in the test web page and script but searches on these strings are still very slow using the indexes recreated with the above addexp's.
Is there any utility I can use to verify that a particular string has been indexed in a metmorph index file ?
<sql "set addexp='\alnum+[\x27.&\^\-]=\alnum+'"><\sql>
<sql "set addexp='\P\space=[\alpha]+:=[^\n]+'"><\sql>
Note that we are adding these to the default \alnum{2,99} and that the \- in the 1st addexp above is supposed to match M-16 and F-14 and it works in the test web page and script but searches on these strings are still very slow using the indexes recreated with the above addexp's.
Is there any utility I can use to verify that a particular string has been indexed in a metmorph index file ?