Add an other approach for build queries.

Using core.match.
Define specific protocol for basic queryable documents.