The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Metabase::Index::MongoDB - Metabase index on MongoDB

VERSION

version 1.000

SYNOPSIS

  use Metabase::Index::MongoDB;

  Metabase::Index::MongoDB->new(
    host    => 'mongodb://localhost:27017',
    db_name => 'my_metabase',
  );

DESCRIPTION

This is an implementation of the Metabase::Index and Metabase::Query roles using MongoDB.

USAGE

See Metabase::Backend::MongoDB for constructor attributes. See Metabase::Index, Metabase::Query and Metabase::Librarian for details on usage.

LIMITATIONS

Search queries have limitations based on the underlying MongoDB search API. Specifically:

-and

It is not possible to combine -eq with other comparisons on the same field or to combine multiple constraints on the same field using the same operator (e.g. two -like constraints).

-or

The -or operator cannot be nested.

-not

Only simple comparisons can be negated. This makes -not not particularly useful.

AUTHOR

David Golden <dagolden@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004