NAME

sqd - Search::Query::Dialect parser

SYNOPSIS

sqd [-d dialect] [-f fieldname] [-D] [-h] [-b "+||-"] query

Examples:
 % sqd foo or bar
 % sqd -d sql foo or bar
 % sqd -d swish foo or bar
 % sqd -d native foo or bar

DESCRIPTION

sqd is a simple program for testing the output of Search::Query::Parser in various dialects.

sqd is short for Search Query Dialect.

OPTIONS

-d dialect

Indicate the dialect to re-serialize your query with.

-f fieldname

Indicate the default field name. For SQL, default is NOSUCHFIELD.

-D

Prints the $query object to stderr with Data::Dump.

-b op

Set the default_boolop value. Default is +. Set to the empty string "" for an OR search.

-h

Print the usage statement.

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

Please report any bugs or feature requests to bug-search-query at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Search-Query. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Search::Query

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2010 Peter Karman.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.