Doing an exhaustive scan of this problem, I did find this one hole: This constructor is not deprecated, but it uses a super() call that is deprecated. Also, this constructor is not used anywhere. I nominate it for deprecation as well.
SolrIndexWriter.java, around line 170 /** * */ public SolrIndexWriter(String name, String path, DirectoryFactory dirFactory, boolean create, IndexSchema schema) throws IOException { super(getDirectory(path, dirFactory, null), false, schema.getAnalyzer(), create); init(name, schema, null); } On 3/9/10, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > : Ok I think I know where the problem is > ... > : It's the constructor used by SolrCore in r772051 > > Ughhh... so to be clear: you haven't been using Solr 1.4 at any point in > this thread? > > that explains why no one else could recreate the problem you were > describing. > > For future refrence: if you aren't using the most recently > released version of Solr when you post a question about a possible bug, > please make that very clear right up at the top of your message, and if > you think you've found a bug, pelase make sure to test against the most > recently released version to see if it's already been fixed. > > : PS : should I fill some kind of bug report even if everything is ok now ? > (I'm > : asking because I didn't see anything related to this problem in JIRA, so > maybe > : if you want to keep a trace...) > > If you can recreate the problem using Solr 1.3, then feel free to file a > bug, noting that it was only a problem in 1.3, but has already been fixed > in 1.4 ... but we don't usually bother tracking bugs against arbitrary > unlreased points from the trunk (unless they are current). I'm sure there > are lots of bugs that existed only transiently as features were being > fleshed out. > > > -Hoss > > -- Lance Norskog goks...@gmail.com