The program solve returns solutions to a CQL query, which must appear on the command line. For example:
solve frogwill enumerate all solutions to the query frog in the format returned by GET (minus the OK, of course). This format was documented in 2.7 .
The solve program uses a connexion to localhost to contact the server. It can therefore only be run on a machine that is running the server.
testnet is used to test the server. It accepts ASCII packages as documented in Section 2 , which the user types at the prompt. The replies are echoed.
sample is a simple filter that may be used to reduce the number of solutions returned by solve. sample num reads lines from standard input and sends every numth line to standard output. For example:
solve frog|sample 3displays every third hit from the query frog.