metacore Start a pilot

Product · Built in

Search every record, at every scope.

Full text and conditions on fields, sorted and counted. A search is a read: it returns each record as it resolves at the scope values it names, under the same roles and grants.

Search

Full text and conditions on fields, sorted and counted. A search is a read: it returns each record as it resolves at the scope values it names, under the same roles and grants.

Queries

Words, conditions, or both.

A record matches when every word and every condition holds. Results come in pages, in key order or in the order of a sort.

A search givesHow it matches
WordsA word matches when a word of a text field starts with it. The text fields of the key count too. Case and accents do not.
ConditionsOne field and what its value must be: one of some values, between a least and a greatest, a text with a given start, any value, or none.
No valueA condition of no value finds the records where a field is empty.
ListsOn a list, a word or a condition holds when one value of the list meets it.
ReferencesA condition can name a field that a reference carries.

What a search says

Every key field and every field of a released layer enters search, except restricted fields and files.

A search returnsHow
PagesIn key order, or in the order of a sort.
A sortOne to three fields, each ascending or descending.
Empty valuesA record with no value for a field of the sort comes after every record that has one.
Steady pagesEach page continues after the last record of the page before it. A record that does not change is never returned twice, nor missed.
A countHow many records match over all the pages, in one live state and at one instant. It returns no record.

What a search returns

A field in search that holds one value can sort, with nothing to declare.

Scope

The same search, another answer at another level.

A search is a read. It matches each record as it resolves at the scope values it names, so an override changes what a level finds.

One condition, two levels

The global root sets a limit of 500, and the team support overrides it with 200. A search for a limit up to 250 finds that record at support, and not at the global root.

A search resolvesWhat it means
At a scope valueEach record as it resolves there, field by field, with the nearest value winning.
At every levelA search can read at every level too: each record that matches, at each of its levels.
At an instantAs a read does. A dated value is found from the start of its period, with nothing to index at that time.
Through referencesA field that a reference carries resolves at the same scope values and the same instant.

Where a search resolves

A sort orders the records by the values that they resolve to there.

Back office

Search is the page of every entity.

The back office is a client of search. The page of an entity takes words, filters and a sort, and shows how many records match.

A search, as one level sees the records

One word, one filter and a sort, read as the team support reads the records. An arrow marks a value that comes from a level above.

Guarantees

Never a half-built answer.

Search is a projection of the live releases. It answers whole or it refuses, and it never returns a record that does not match as it is live.

GuaranteeWhat it means
Same accessA search needs the same role and the same grants as a read.
Restricted fieldsThey never enter search.
Never half-builtUntil its index is whole, a search is refused and told when to retry.
Your own publishA search can name a run that it must see. It is refused until the index holds that publish, and told when to retry.
RenamesA search that names a field by a former name still gets its answer.

What search guarantees

A deployment builds the index of what it converts before the new version is live, so no search waits for it.

Search has noWhat it does instead
RelevanceIt never ranks. Records come in key order, or in the order of a sort.
FacetsNone. Where you need them, feed a search engine of your own from the events.
Sums and groupsA count counts records. Sums and groups are analytics, outside the engine.
Overlays, balancesNeither enters search: a balance changes with every movement.
File contentsA condition tests whether a field holds a file, never which file.

What search leaves out

A condition or a sort on a field that is not in search is refused.

See also

Build your domain.

Declare its schema, and take it to production, self-hosted or in a managed region.

Briefing