jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: Persistence SearchIndex to database
Date Mon, 11 Jun 2007 13:31:04 GMT
On 6/11/07, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
> Gary Dong wrote:
> > 2. Assume it is a feasible idea. I configured the <SearchIndex> element by
> > provide a <FileSystem> which is configured as OracleFileSystem in my
> > <Workspace> configuration as below. When I run the application  I noticed
> > that the  search index is still on local file system.
> >
> > Can anyone tell how I can persistence search index in the database?
>
> this is currently not possible. there once was an implementation that used the
> FileSystem abstraction, but it was removed again because the performance was
> bad. for certain operations the lucene query handler reads from the index files
> in a random access fashion, which is not possible with the FileSystem API.

random access is supported by the FileSystem abstraction:
http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/fs/FileSystemResource.html#getRandomAccessOutputStream()

the problem is implementing this feature efficiently using a database backend.

cheers
stefan


>
> please file a jira issue if you wish to see this implemented.
>
> regards
>   marcel
>

Mime
View raw message