jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ard Schrijvers <a.schrijv...@onehippo.com>
Subject Re: Query over multiple workspaces
Date Tue, 16 Nov 2010 09:19:43 GMT
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
>



-- 
Hippo
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466
USA  • San Francisco  185 H Street Suite B  •  Petaluma CA 94952-5100
•  +1 (707) 773 4646
Canada    •   Montréal  5369 Boulevard St-Laurent  •  Montréal QC H2T
1S5  •  +1 (514) 316 8966
www.onehippo.com  •  www.onehippo.org  •  info@onehippo.com

Mime
View raw message