Re: How do Lucene applications deal with API changes?

2004-11-03 Thread sergiu gordea
Bill Janssen wrote: Thanks to Bill Tschumy, who points out that Lucene 1.4.21 *breaks* the API exported by 1.4 by removing a parameter from QueryParser.getFieldQuery(). That means that my NewMultiFieldQueryParser also breaks, since it overrides that method. To fix, just remove the Analyzer paramet

Re: How do Lucene applications deal with API changes?

2004-11-02 Thread Bill Janssen
I know, I know, it's bad form to answer your own question. But here's a test program to distinguish between Lucene 1.4.1 and 1.4.2. Bill import java.io.*; import java.lang.Class; import java.lang.reflect.Method; class testLucene { private static boolean compareArgs (Class[] args1, Class[]

How do Lucene applications deal with API changes?

2004-11-02 Thread Bill Janssen
Thanks to Bill Tschumy, who points out that Lucene 1.4.21 *breaks* the API exported by 1.4 by removing a parameter from QueryParser.getFieldQuery(). That means that my NewMultiFieldQueryParser also breaks, since it overrides that method. To fix, just remove the Analyzer parameter from the getField