Search::QueryParser 0.91
Sponsored Links
Search::QueryParser 0.91 Ranking & Summary
File size:
0.007 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1231
Date added:
2006-06-15
Publisher:
Laurent Dami
Search::QueryParser 0.91 description
Search::QueryParser parses a query string into a data structure suitable for external search engines.
SYNOPSIS
my $qp = new Search::QueryParser;
my $s = +mandatoryWord -excludedWord +field:word "exact phrase";
my $query = $qp->parse($s) or die "Error in query : " . $qp->err;
$someIndexer->search($query);
# query with comparison operators and implicit plus (second arg is true)
$query = $qp->parse("txt~^foo.* date>=01.01.2001 date<=02.02.2002", 1);
# boolean operators (example below is equivalent to "+a +(b c) -d")
$query = $qp->parse("a AND (b OR c) AND NOT d");
This module parses a query string into a data structure to be handled by external search engines. For examples of such engines, see File::Tabular and Search::Indexer.
The query string can contain simple terms, "exact phrases", field names and comparison operators, +/- prefixes, parentheses, and boolean connectors.
The parser can be parameterized by regular expressions for specific notions of "term", "field name" or "operator" ; see the new method. The parser has no support for lemmatization or other term transformations : these should be done externally, before passing the query data structure to the search engine.
The data structure resulting from a parsed query is a tree of terms and operators, as described below in the parse method. The interpretation of the structure is up to the external search engine that will receive the parsed query ; the present module does not make any assumption about what it means to be "equal" or to "contain" a term.
SYNOPSIS
my $qp = new Search::QueryParser;
my $s = +mandatoryWord -excludedWord +field:word "exact phrase";
my $query = $qp->parse($s) or die "Error in query : " . $qp->err;
$someIndexer->search($query);
# query with comparison operators and implicit plus (second arg is true)
$query = $qp->parse("txt~^foo.* date>=01.01.2001 date<=02.02.2002", 1);
# boolean operators (example below is equivalent to "+a +(b c) -d")
$query = $qp->parse("a AND (b OR c) AND NOT d");
This module parses a query string into a data structure to be handled by external search engines. For examples of such engines, see File::Tabular and Search::Indexer.
The query string can contain simple terms, "exact phrases", field names and comparison operators, +/- prefixes, parentheses, and boolean connectors.
The parser can be parameterized by regular expressions for specific notions of "term", "field name" or "operator" ; see the new method. The parser has no support for lemmatization or other term transformations : these should be done externally, before passing the query data structure to the search engine.
The data structure resulting from a parsed query is a tree of terms and operators, as described below in the parse method. The interpretation of the structure is up to the external search engine that will receive the parsed query ; the present module does not make any assumption about what it means to be "equal" or to "contain" a term.
Search::QueryParser 0.91 Screenshot
Search::QueryParser 0.91 Keywords
QueryParser
QueryParser 0.91
Search Engines
Query string
data structure
query
search
string
structure
suitable
parses
Search::QueryParser
SearchQueryParser
Search::QueryParser 0.91
Libraries
Programming
Bookmark Search::QueryParser 0.91
Search::QueryParser 0.91 Copyright
WareSeeker periodically updates pricing and software information of Search::QueryParser 0.91 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Search::QueryParser 0.91 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
search engine
php query string without question mark
query builder
lucene query parser
query server
meta search engines
queryparser lucene
query letter
data structure that
query language
sql query
what is a query
query george
data structure and algorithm
job search engines
query string character
query optimization
top ten search engines
Related Software
Search::VectorSpace is a very basic vector-space search engine. Free Download
Search::ContextGraph is a Perl module for spreading activation search engine. Free Download
Search::Tools are tools for building search applications. Free Download
KinoSearch is a search engine library. Free Download
Javascript Search Aggregator allows you to perform all of your Web searches from one place. Free Download
phpSearch provides a single-table search engine with a customizable query form. Free Download
Search::Tools::Keywords is a Perl module to extract keywords from a search query. Free Download
Yahoo::Search::Request is a container object for a Yahoo! Search request. Free Download
Latest Software
Popular Software
Favourite Software