Although it seems to process the index, it appears it does not "mark" the
index as processed, every time I start the server, the indexing process
starts again, very odd.

El lun, 29 abr 2024 a las 10:58, Jorge Flórez (<[email protected]>)
escribió:

> Hi all,
>
> I am having a little problem, we are using Oak 1.52.0, packaged in a war,
> that is deployed on Wildlfy 24. When I insert an index using
>
> Node indexesParentNode = session.getNode("/oak:index");
> Node indexNode =
> indexesParentNode.addNode("test","oak:QueryIndexDefinition");
> <node structure creation>
> session.save();
>
> the async indexer seems not working, nothing is registered in my log. Same
> thing happens when I try to reindex using
>
> Node indexesParentNode = session.getNode("/oak:index");
> Node indexNode = indexesParentNode.getNode("test");
> indexNode.setProperty("reindex", true);
> session.save();
>
> The log shows nothing.
>
> Any ideas what could be causing this? In previous Oak versions we did not
> have any problems creating (or reindexing) indexes.
>
> PS: When I restart Wildfly or redeploy my war I see
> (async-index-update-async) Reindexing will be performed for following
> indexes: [/oak:index/test]
> (async-index-update-async) Estimated node count to be traversed for
> reindexing under / is [10240]
> (async-index-update-async) reindexCompletionTimestamp set to current time
> for index:/oak:index/test
>
> So it may be doing something, but just at the beginning.
>
> Thanks.
>
> Jorge
>
>

Reply via email to