r1 - 20 Aug 2004 - 23:24:33 - LeoGalambosYou are here: TWiki >  Egothor Web  >  ExecutableProgram > ExecuteXML

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="&lt;WORD&gt;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>
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback