What's the best way to index the extensions, such as .com, .edu, .au, .uk etc. in the Url field using Version 2.52/2.56?
Currently we are using addexp to index C++, with the vortex script following. This script does not include Url.
Can I add Url to the script (Url\Title\Meta\Body) add more lines to the same script to index the dot, such as
<sql "set addexp = '.com'"></sql>
<sql "set addexp = '.edu'"></sql>
<sql "set addexp = '.au'"></sql>
<sql "set addexp = '.uk'"></sql>
Or a single line
<sql "set addexp = '.com .edu .au .uk'"></sql>
Or does it need a separate script?
Or is there a better way to do it?
Can addexp be used on a populated database, or should it be a new one?
Here is the script currently being used at the time a database is created:
<SCRIPT LANGUAGE=vortex>
<TIMEOUT = 18000>
<H4>Time Exceeded</H4>
Your query exceeded the time limit.
</TIMEOUT>
<DB = /db>
<A name=main>
<user=_SYSTEM>
<sql "drop index xhtmlbod"></sql>
<sql "set addexp = 'C\+\+'"></sql>
<sql "create metamorph inverted index xhtmlbod on html(Title\Meta\Body)"></sql>
</A>
</SCRIPT>
Thanks
Mike Clark
Currently we are using addexp to index C++, with the vortex script following. This script does not include Url.
Can I add Url to the script (Url\Title\Meta\Body) add more lines to the same script to index the dot, such as
<sql "set addexp = '.com'"></sql>
<sql "set addexp = '.edu'"></sql>
<sql "set addexp = '.au'"></sql>
<sql "set addexp = '.uk'"></sql>
Or a single line
<sql "set addexp = '.com .edu .au .uk'"></sql>
Or does it need a separate script?
Or is there a better way to do it?
Can addexp be used on a populated database, or should it be a new one?
Here is the script currently being used at the time a database is created:
<SCRIPT LANGUAGE=vortex>
<TIMEOUT = 18000>
<H4>Time Exceeded</H4>
Your query exceeded the time limit.
</TIMEOUT>
<DB = /db>
<A name=main>
<user=_SYSTEM>
<sql "drop index xhtmlbod"></sql>
<sql "set addexp = 'C\+\+'"></sql>
<sql "create metamorph inverted index xhtmlbod on html(Title\Meta\Body)"></sql>
</A>
</SCRIPT>
Thanks
Mike Clark