debian man page for search::gin::query::set

Query: search::gin::query::set

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Search::GIN::Query::Set(3pm)				User Contributed Perl Documentation			      Search::GIN::Query::Set(3pm)

NAME
Search::GIN::Query::Set - Create queries with set operations
VERSION
version 0.08
SYNOPSIS
# build a query like: # (type:pdf OR type:png) AND (name:Homer OR name:Bart) use Search::GIN::Query::Set; use Search::GIN::Query::Manual; my $query = Search::GIN::Query::Set->new( operation => 'INTERSECT', subqueries => [ Search::GIN::Query::Manual->new( values => { type => [qw(pdf png)] } ), Search::GIN::Query::Manual->new( values => { name => [qw(Homer Bart)] } ), ] );
DESCRIPTION
Creates a manual GIN query that can be used to search using basic set theory, in order to build more complex queries. This query doesn't provide any specific search, it's just a set operator for subqueries. You can build complex queries by using other set queries as subqueries for a set query.
METHODS
/SUBROUTINES new Creates a new query.
ATTRIBUTES
subqueries The subqueries to process operation One of the basic set operators: "UNION", "INTERSECT" and "EXCEPT". The default is "UNION"
AUTHOR
Yuval Kogman <nothingmuch@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Yuval Kogman, Infinity Interactive. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2011-01-31 Search::GIN::Query::Set(3pm)
Related Man Pages
lucene::queryparser(3pm) - debian
plucene::search::booleanquery(3pm) - debian
plucene::search::termquery(3pm) - debian
rdf::redland::query(3pm) - debian
search::xapian::enquire(3pm) - debian
Similar Topics in the Unix Linux Community
assign a value to variable
How to remove duplicated lines?
Query SQL get two values differents from the same columns
Search multiple pattern from list
MySQL Query to Build Mockup Vue.js UserCP Timeline Page