Back to main page

DocumentProposition

Concept:

DocumentProposition expresses statements about a document.

For example the expression { "tags":"laptop", "price" : {"$lt" : 500 } } describes a product, where the product is tagged as a laptop, and its price is under 500

Format:

    MultiFieldQueryFormat(Proposition)

Example 1:

    {"click":true}

Example 2:

    {"query":"laptop"}

Example 3:

    {"product.tags":{ "$match" :"laptop" }, "click":true }