Advanced Metamorph Queries

Post Reply
source1Tamer
Posts: 91
Joined: Tue Nov 13, 2001 3:49 pm

Advanced Metamorph Queries

Post by source1Tamer »

How could I enable XPM, NPM Metamorph queries in my script?
I tried to search for "%70Michigan" on existing metamorph index but it returned nothing.
source1Tamer
Posts: 91
Joined: Tue Nov 13, 2001 3:49 pm

Advanced Metamorph Queries

Post by source1Tamer »

could I also be able to enable users to search by Rex expressions?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Advanced Metamorph Queries

Post by mark »

If you view the source of the results page when you do that you should see a warning message in html comments indicating that linear searches are not allowed. The default query protection ( http://thunderstone.master.com/texis/ma ... ction&s=.2 ) disables linear searches to prevent users from killing your server. If you want to allow linear searches use <apicp allinear 1>
source1Tamer
Posts: 91
Joined: Tue Nov 13, 2001 3:49 pm

Advanced Metamorph Queries

Post by source1Tamer »

yaah,, when I turn on the linear search,It's runnung too slow cause it's not using the Metamorph index,, and the table is pretty huge....
so, any other way to achieve this dream??
doran
Posts: 50
Joined: Tue Jun 06, 2000 1:37 pm

Advanced Metamorph Queries

Post by doran »

What might make sense, is to allow XPM, REX etc. only together with an "anchor" (indexed) word. So, for example, "%70Michigan +whatever" would be allowed, but not "%70Michigan" alone. For this, you would use <apicp alpostproc 1>.
Post Reply