FYI - Using free text search in your queries with FatFractal

This web application demonstrates real examples of using free text search with FatFractal.

You can see the data created by this app using the FatFractal DataBrowser ( here )

You can access the source code for the sample application ( here )

You can read the blog about textual term search with FatFractal ( here )

First, - let's have a look at the two Movie objects stored in the backend.

Query to be submitted:
    /Movies/
Note: you can paste this query to the databrowser ( here )


Next, we will create a query that uses the contains_any operator (feel free to change the search terms).

Query to be submitted:
    /Movies/(description contains_any 'family terrorized')
Note: you can paste this query to the databrowser ( here )

Last, we will create a query that uses the contains_all operator (feel free to change the search terms).

Query to be submitted:
    /Movies/(description contains_all 'family terrorized')
Note: you can paste this query to the databrowser ( here )

The following Model is used with this post

function Movie() {
    this.title = null;
    this.description = null;
    this.year = null;
    return this;
}