Class: Ferret::Search::MatchAllQuery

Summary

MatchAllQuery matches all documents in the index. You might want use this query in combination with a filter, however, ConstantScoreQuery is probably better in that circumstance.

Public Class Methods


MatchAllQuery.new → query

Create a query which matches all documents.

/*
 *  call-seq:
 *     MatchAllQuery.new -> query
 *
 *  Create a query which matches all documents.
 */
static VALUE
frt_maq_init(VALUE self)
{
    return self;
}