You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ashish P <as...@gmail.com> on 2009/04/26 10:08:06 UTC

How to index the contents from SVN repository

Is there any way to index contents of SVN rep in Solr ??
-- 
View this message in context: http://www.nabble.com/How-to-index-the-contents-from-SVN-repository-tp23240110p23240110.html
Sent from the Solr - User mailing list archive at Nabble.com.


RE: How to index the contents from SVN repository

Posted by Steven A Rowe <sa...@syr.edu>.
Hi Ashish,

The excellent SVN/CVS repo browser ViewVC <http://www.viewvc.org/> has tools to record SVN/CVS commit metadata in a database - seeing how they do it may give you some hints.

The INSTALL file gives pointers to the relevant tools (look for the "SQL CHECKIN DATABASE" section):

http://viewvc.tigris.org/svn/viewvc/trunk/INSTALL

ViewVC doesn't have file content search capabilities yet - maybe while you're at it, you could contribute your work to that project :).

Good luck,
Steve

On 4/27/2009 at 1:12 AM, Ashish P wrote:
> Right. But is there a way to track file updates and diffs.
> Thanks,
> Ashish
> 
> Noble Paul നോബിള്‍  नोब्ळ् wrote:
> >
> > If you can check it out into a directory using SVN command then you
> > may use DIH to index the content.
> >
> > a combination of FileListEntityProcessor and PlainTextEntityProcessor
> > may help
> >
> > On Sun, Apr 26, 2009 at 1:38 PM, Ashish P <as...@gmail.com>
> > wrote:
> >>
> >> Is there any way to index contents of SVN rep in Solr ??

Re: How to index the contents from SVN repository

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@gmail.com>.
I guess not.

On Mon, Apr 27, 2009 at 10:42 AM, Ashish P <as...@gmail.com> wrote:
>
> Right. But is there a way to track file updates and diffs.
> Thanks,
> Ashish
>
> Noble Paul നോബിള്‍  नोब्ळ् wrote:
>>
>> If you can check it out into a directory using SVN command then you
>> may use DIH to index the content.
>>
>> a combination of FileListEntityProcessor and PlainTextEntityProcessor may
>> help
>>
>>
>> On Sun, Apr 26, 2009 at 1:38 PM, Ashish P <as...@gmail.com>
>> wrote:
>>>
>>> Is there any way to index contents of SVN rep in Solr ??
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-to-index-the-contents-from-SVN-repository-tp23240110p23240110.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> --Noble Paul
>>
>>
>
> --
> View this message in context: http://www.nabble.com/How-to-index-the-contents-from-SVN-repository-tp23240110p23250220.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
--Noble Paul

Re: How to index the contents from SVN repository

Posted by Ashish P <as...@gmail.com>.
Right. But is there a way to track file updates and diffs.
Thanks,
Ashish

Noble Paul നോബിള്‍  नोब्ळ् wrote:
> 
> If you can check it out into a directory using SVN command then you
> may use DIH to index the content.
> 
> a combination of FileListEntityProcessor and PlainTextEntityProcessor may
> help
> 
> 
> On Sun, Apr 26, 2009 at 1:38 PM, Ashish P <as...@gmail.com>
> wrote:
>>
>> Is there any way to index contents of SVN rep in Solr ??
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-index-the-contents-from-SVN-repository-tp23240110p23240110.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> --Noble Paul
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-index-the-contents-from-SVN-repository-tp23240110p23250220.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to index the contents from SVN repository

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@gmail.com>.
If you can check it out into a directory using SVN command then you
may use DIH to index the content.

a combination of FileListEntityProcessor and PlainTextEntityProcessor may help


On Sun, Apr 26, 2009 at 1:38 PM, Ashish P <as...@gmail.com> wrote:
>
> Is there any way to index contents of SVN rep in Solr ??
> --
> View this message in context: http://www.nabble.com/How-to-index-the-contents-from-SVN-repository-tp23240110p23240110.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
--Noble Paul

Re: How to index the contents from SVN repository

Posted by Ryan McKinley <ry...@gmail.com>.
I would suggest looking at Apache commons VFS and using the solrj API:

http://commons.apache.org/vfs/

With SVN, you may be able to use the webdav provider.

ryan



On Apr 26, 2009, at 4:08 AM, Ashish P wrote:

>
> Is there any way to index contents of SVN rep in Solr ??
> -- 
> View this message in context: http://www.nabble.com/How-to-index-the-contents-from-SVN-repository-tp23240110p23240110.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>