Thomas Mueller created OAK-590:
----------------------------------
Summary: Value type index implementation
Key: OAK-590
URL: https://issues.apache.org/jira/browse/OAK-590
Project: Jackrabbit Oak
Issue Type: New Feature
Components: core, query
Reporter: Thomas Mueller
Assignee: Thomas Mueller
The only index implementation that can speed up queries of the following type
is the index org.apache.jackrabbit.oak.plugins.index.old.PrefixIndex. However,
this index implementation is deprecated.
{code}
select * from [nt:base]
where property([*], 'REFERENCE') = CAST('123' AS REFERENCE)
{code}
The index implementation needs to index all properties of a given data type
(property type). Both single value properties and multi-valued properties need
to be supported.
It might be possible to extend the P2 index to support such queries. If that's
too complicated, we will need to create a new index implementation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira