If the -stdout switch is specified then the documents are echoed to standard output. Otherwise the document is returned to tcl as the command result. In this case file should be a program. Output is sent to the program on via a pipe to its standard input. The contents of file are over-written if it already exists.
Output is appended to file .
All engine output is copied directly to standard output. No attempt is made to convert it to a list and return the data to the tcl application. Performs the specified search returning the number of hits. If -details is specified, then each search term is added as an element to array with its value set to the document hits for that term. Set a switch to value .