Re: IR static methods

2009-06-04 Thread Earwin Burrfoot
r.java > ./src/java/org/apache/lucene/index/SegmentInfos.java > > How about IndexInfo? > >  Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message >> From: Earwin Burrfoot >> To: java-dev@lucene.apache.org >> Sent:

Re: IR static methods

2009-06-04 Thread Otis Gospodnetic
- Solr - Nutch - Original Message > From: Earwin Burrfoot > To: java-dev@lucene.apache.org > Sent: Wednesday, June 3, 2009 8:08:50 AM > Subject: IR static methods > > I have a strong desire to remove all these static methods from IR - > lastModified, getCurrentVersi

IR static methods

2009-06-03 Thread Earwin Burrfoot
I have a strong desire to remove all these static methods from IR - lastModified, getCurrentVersion, getCommitUserData, indexExists. But haven't found a good place for them yet. Directory - is a bad place, it shouldn't concern itself with details of what exactly is stored inside, it should think o