Skip to content

Search Documentation #110

@epicblood

Description

@epicblood

The documentation for the search function leads one to believe that

var qryObj = {
field1 : "term"
};

will search for documents that have the value "term" in the field "field1"
However, this is untrue, it should be

var qryObj = {
    "query" : {
        "term" : { "field1" : "term" }
    }
};

Please update the documentation so that others don't run into simliar problems as myself.

Also, better/more documentation in general would be great.

Thanks
-Epicblood

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions