1.31.3. How are different properties indexed?

Different properties are indexed in different ways, this affects to if it can be searched like fulltext by property or not.

Only two property types are indexed as fulltext searcheable: STRING and BINARY.

Property TypeFulltext search by all propertiesFulltext search by exact property
STRINGYESYES
BINARYYESNO

For example, ưe have property jcr:data (it' BINARY). It's stored well, but you will never find any string with query like:

SELECT * FROM nt:resource WHERE CONTAINS(jcr:data, 'some string')

Because,  BINARY is not searchable by fulltext search on exact property.

But, next query will return result (off course if node has searched data):

SELECT * FROM nt:resource WHERE CONTAINS( * , 'some string')
Copyright ©2012. All rights reserved. eXo Platform SAS