What is “passive indexing”?

Passive indexing is the term for reading a dynamic value from a property (e.g. FunctionProperty or BooleanProperty) at application level, and writing it into the database at the end of each transaction, so the value is visible to Cypher. This is important for BooleanProperty, because its getProperty() method returns false instead of null even if there is no actual value in the database. Hence a Cypher query for this property with the value false would not return any results. Structr resolves this by reading all passively indexed properties of an entity, and writing them into the database at the end of a transaction.

About this article
Last change 2019-01-25