jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Rössner <roess...@dig.de>
Subject Re: Query over multiple workspaces
Date Tue, 16 Nov 2010 16:14:10 GMT
Ard Schrijvers wrote:
> On Tue, Nov 16, 2010 at 10:00 AM, Thorsten Rössner <roessner@dig.de> wrote:
>> Hello everybody,
>> I have two workspaces. The "default" one and another let's say "archive" for
>> old data.
>> Now I want to execute one query in both workspaces. Is this possible?
> No this is not possible. Why don't you use versioning for archiving?
> Then, querying is easy when you also tell the repository.xml to index
> version history
> Regards Ard
>> I didn't find a solution, because getQueryManager() is defined on a
>> Workspace. I know that I can execute two separate queries, but this doesn't
>> fit my needs.
>> Thanks for your help,
>> Thorsten
Thanks for your purpose.

I don't use versioning, because the workspace would become very huge.
It would contain a lot of data and I would like to divide it. One reason 
for the division is the smaller lucene index.


View raw message