Tanker Query - ExecuteXML
To solve a query in a tanker, use
java org.egothor.query.ExecuteXML tanker_dir query
If you set
egothor.query.repeats to a value greater than 1, the output will be empty, but you will be able to measure the speed of querying (on *nix with
time utility).
Query
runs may give this output:
<?xml version="1.0" encoding="UTF-8"?>
<egothor>
<query offset="0" length="10" model="1" query="runs">
<group required="no" prohibited="no" unknown="no" excluded="no">
<term required="yes" prohibited="no" unknown="no" excluded="no"
value="<WORD>runs" control="no" idf="-1.0" boost="1"/>
</group>
</query>
<hitlist hitsGiven="2">
<hit similarity="35" num="0">
<meta L="http://localhost/robot/org/egothor/robot/Terminal.html"
T="Terminal (EGOTHOR 1.2.5-RC-V API (Robot)) "
S="Overview Package Class Use Tree Deprecated Index Help..."
B="http://localhost/robot/org/egothor/robot/Terminal.html"/>
</hit>
<hit similarity="15" num="1">
<meta L="http://localhost/robot/index-files/index-16.html"
T="R-Index (EGOTHOR 1.2.5-RC-V API (Robot)) "
S="Overview Package Class Use Tree Deprecated Index Help..."
B="http://localhost/robot/index-files/index-16.html"/>
</hit>
</hitlist>
</egothor>