Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
show-titlefalse
titleDescription

Whenever a property value allows for a list of values, these values are simply separated by a comma. This is a natural way to separate values.

Sometimes the value of a property contains a comma, but it is considered to be a single value. This tip shows how to deal with this issue.

Section
titleSummary

Every value of a property is by default able to host a list of strings. These strings are separated by commas. If you need to protect a value to be split, use the property control is-single-value.

Section
titleName Property

The name property typically does not contain a comma. But when it does, the name is split into a couple of names.

Image Added

One would expect that running an exact match query for "Doe, Jane" would yield a hit. But it does not.

Image Added

A standard search has hits.

Image Added

So the document is indexed with Lucene. But how can we specify an exact match query?

You need to mark the property to have only a single value. This is done with the control is-single-value.

Image Added

Then exact match queries will work as expected.

Image Added

Section
titlePrerequisites

...

Section
titleResources

More information on templates, blueprints, and doctypes.

Tour
render-as-definition-listtrue
replace-title-with-nametrue

Piwik Set Multiple Custom Variables
NameValue
Departmentprojectdoc
Categoryprojectdoc-tip
Typehowto