X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=HACKING;h=bb1dae8cba5faad79f315659007116af10d002b8;hb=70ff0bfc463882ecf233f1b1a7ac4a8007fa4cc2;hp=b8fe7c6406d0e020fcfececf55989ccd3d3a5094;hpb=7a84508ebd7b534215a768c771171e8f062e0d0b;p=SXSI%2Fxpathcomp.git diff --git a/HACKING b/HACKING index b8fe7c6..bb1dae8 100644 --- a/HACKING +++ b/HACKING @@ -38,6 +38,8 @@ Usage : file.xml is the input file. There are some in the tests subdirectory. At the moment you can mainly test with base.xml and tiny.xml. Any file bigger than this will take too much time to load. +If the file ends with the .srx extensions then it is considered to be a serialized output saved to disk +with the -s flag (see bellow). output is optional. If specified, it is the name of a file to which the result of the query is serialized. @@ -45,14 +47,16 @@ If output is not given, the the result of the query is kept as a set of identifi the string collection is made. -There are a few flags: --f sample factor [default=64] --i index empty texts [default=false] --d Disable text collection[default=false] --help Display this list of options ---help Display this list of options +There are a few flags: + +./main 'query' [output] -for instance: -./main -f 29 -d tests/tiny.xml '//para' + -c counting only (don't materialize the result set) + -max-tc set maximum count for which the TextCollection is used + -f sample factor [default=64] + -s save the intermediate representation into file.srx + -b real bottom up run + -help Display this list of options + --help Display this list of options