Ard Schrijvers wrote: > AFAIK, there is no such point. During indexing, LONGs and DOUBLEs are > converted to a lexical representation (see NodeIndexer.addLongValue for > example) such that lucene can query and sort on it (lucene works > lexically only). The LONG's and DOUBLEs end up in the very same lucene > field as normal String properties.
as of jackrabbit 1.5 there actually is additional type information written to the index by using token payloads. but it is not currently used when queries are executed. adding queries that take the type into account shouldn't be too complicated. I have created a jira issue: https://issues.apache.org/jira/browse/JCR-1951 regards marcel
