[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion vs. Apache Jackrabbit/JSR-170

From: sub paul <subpaul_at_gmail.com>
Date: 2005-10-05 19:19:17 CEST

On 10/5/05, Turaukar Yur <yuraukar@hotmail.com> wrote:
> >In a nutshell, JSR-170 is to Subversion as JDBC API is to mysql or
> >oracle or db2. Jackrabbit is to subvesion as a JDBC driver is to a
> >database. However, jackrabbit can also persist its contents in a
> >database.
> Not exactly. Jackrabbit has the capability to store its data in a database
> or file system. There may be more persistence layers in the future.
> However, most of the logic seems to reside in JackRabbit, not the
> persistence layer.
> From the JackRabbit FAQ:
> -------------
> How "smart" should a persistence manager be?
> A persistence manager should not be intelligent, i.e. it should not
> interpret the content it is managing. The only thing it should care about is
> to efficiently, consistently, and reliably store and read the content
> encapsulated in the passed NodeState and PropertyState objects.
> --------------
> >JSR-170 is not really to store files, its more to be used inside an
> >application to keep history for you database fields more like.
> Oh yes, correct. We would have plans to wrap the functionality and integrate
> it in our team website -- in addition to any direct access tools. For this,
> a standard API would be nice.
> > > Jackrabbit also supports searching through the documents -- by content
> >and
> > > attributes. What are Subversion's features here? How efficient is
> >searching
> > > by attributes? Is there any "plug-in" that provides fast index-based
> > > searching on document contents?
> >
> >I have no clue about this one.. Each file has properties, but I think
> >they are not searchable.
> This seems to be the weak point in SVN -- well knowing that it was not
> intended to provide that in the first place.
> I recall having read something about plugins that could react on a checking
> and keep/build a keyword index of the checked in material, that would allow
> searching.
> I was however unable to find any project or script that is actually doing
> it.

For files, I recommend would write a java hook script ?? to
add/update index in lucene of the files being submitted. Now the query
can be done from this lucene index.

If you want to index your working directory, I believe lucene has a
demo that indexes files : http://lucene.apache.org/java/docs/demo.html

I am not against JSR-170, I just don't think its the right tool for
your job. I am actually all for JSR-170.

> There was a thread back in 2002 "Document Management" but apparently nothing
> happened since then. Or am I missing something?
> _________________________________________________________________
> Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig
> im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/
> Jetzt gratis downloaden!
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 5 20:48:53 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.