Check the system request handler: http://localhost:8983/solr/admin/system
Should look something like this: <lst name="lucene"> <str name="solr-spec-version">1.3.0.2009.07.28.10.39.42</str> <str name="solr-impl-version">1.4-dev 797693M - jayhill - 2009-07-28 10:39:42</str> <str name="lucene-spec-version">2.9-dev</str> <str name="lucene-impl-version">2.9-dev 794238 - 2009-07-15 18:05:08</str> </lst> -Jay On Thu, Jul 30, 2009 at 10:32 AM, Walter Underwood <wun...@wunderwood.org>wrote: > I think the properties page in the admin UI lists the Lucene version, but I > don't have a live server to check that on at this instant. > > wunder > > > On Jul 30, 2009, at 10:26 AM, Chris Hostetter wrote: > > >> : > i want to get the lucene index format version from solr web app (as >> >> : the Luke request handler writes it out: >> : >> : indexInfo.add("version", reader.getVersion()); >> >> that's the index version (as in "i have added docs to the index, so the >> version number has changed") the question is about the format version (as >> in: "i have upgraded Lucene from 2.1 to 2.3, so the index format has >> changed") >> >> I'm not sure how Luke get's that ... it's not exposed via a public API on >> an IndexReader. >> >> Hmm... SegmentInfos.readCurrentVersion(Directory) seems like it would do >> the trick; but i'm not sure how that would interact with customized >> INdexReader implementations. i suppose we could always make it non-fatal >> if it throws an exception (just print the exception mesg in place of hte >> number) >> >> anybody want to submit a patch to add this to the LukeRequestHandler? >> >> >> -Hoss >> > >