we having a problem searching against un_tokenized dynamic property values.
some source code analysis:
1. ResourcePropertyLookup constructor is returning null on the following statement for the dynamic "label" property:
resourcePropertyMappings = compassMapping.getResourcePropertyMappingsByPath(path);
2. CompassQueryParser.getFieldQuery(...) is not flowing through the block to set the analyzer to KEYWORD_ANALYZER since it is unable to check that the resourcePropertyMapping.index value is "UN_TOKENIZED".
3. Downstream a PhraseQuery is created instead of TermQuery.
followig bugs has been also found (to reproduce it I use collection of a class with two fields: name and value):
1. sorting does not work on dynamic-properties (probably un_tokenized bug )
2. "exclude-from-all" declaration has no effect