-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
5.4.0.Final
-
None
I am using ModeShape 5.4.0.Final with a lucene index provider. I have the following indexes defined:
<index name="mixinTypes" provider-name="local" kind="nodeType" node-type="nt:base" columns="jcr:mixinTypes(STRING)" />
<index name="primaryType" provider-name="local" kind="nodeType" node-type="nt:base" columns="jcr:primaryType(STRING)" />
<index name="path" provider-name="local" kind="value" node-type="nt:base" columns="jcr:path(PATH)" />
I have a query like this:
SELECT * FROM [MYTYPE] WHERE PATH([MYTYPE]) LIKE PATH/%
This works fine. The indexes are used and I get the expected result from the query.
If, however, I do a session.move on the node at PATH, no child nodes are subsequently found when running the query even though they were there before (and still are).
If I change to the local index provider things work as expected.
So I suspect this is an issue with the lucene index provider.