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 Chris Harris <ry...@gmail.com> on 2008/09/01 00:41:51 UTC

Re: Best way to tell which Lucene revision a Solr build comes with?

Huh, looks like looking at the Solr admin doesn't always help. I just
did a "ant compile; ant example" on Solr r690361, and when I now "java
-jar example.jar" and go to
http://localhost:8983/solr/admin/registry.jsp, my Lucene version info
is as follows:

        Lucene Specification Version: 2008-08-27_02-04-10
	Lucene Implementation Version: 2008-08-27_02-04-10 ${svnversion} -
2008-08-27 02:13:53

I feel like I've previously seen ${svnversion} expanded into a
concrete number on this page.

On Sun, Aug 31, 2008 at 2:54 PM, Chris Harris <ry...@gmail.com> wrote:
> I'm getting to the point where building Solr involves:
>
> 1. Figuring out which Lucene revision the Solr build I downloaded was
> built against
> 2. Downloading/patching/building that revision of Lucene
> 3. Copying over the new Lucene jars into Solr's lib directory
> 4. Building Solr
>
> What's the best way to do #1? Currently all I've figured out is
> starting up Solr, and looking at the release info displayed on the
> administration jsp pages. There must be a way to do it before you
> compile Solr, though, right?

Re: Best way to tell which Lucene revision a Solr build comes with?

Posted by Chris Hostetter <ho...@fucit.org>.
1) Anytime the Lucene Jar is updated, a notation is added to CHANGES.txt, 
and the svn commit message should have the specifics on the jar like 
this..

http://svn.apache.org/viewvc/lucene/solr/trunk/lib/lucene-core-2.4-dev.jar?view=log

2) the Solr Admin screen is just displaying what's listed in the MANIFEST 
for the Lucene Jar, so you can fetch that directly w/o running Solr.

3) ...

: Huh, looks like looking at the Solr admin doesn't always help. I just
	...
: 	Lucene Implementation Version: 2008-08-27_02-04-10 ${svnversion} -
: 2008-08-27 02:13:53
: 
: I feel like I've previously seen ${svnversion} expanded into a
: concrete number on this page.

That's because that build probably came from Hudson, previous builds 
probably came from people building them manually (INFRA-1721 is why Hudson 
builds of Lucene-Java don't have svnversion expanded at the moment)

-Hoss