Search for a "historical search"

Is there a way to get a “historical search”?

That is, to find documents in which the searched terms have been overwritten by a new version in the meantime.

It would be even nicer to be able to specify a time window.

Thanks for all ideas and suggestions

Norbert

In theory it should be possible since the history is stored in a database table (see the xwikircs table at https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/DatabaseSchema/). The content is in the XWR_PATCH column.

Right now XWikiVersioningStoreInterface only contains load/delete/save operations, no search. But you should be able to use HQL or XWQL to perform searches.