Robert Muir wrote:
such projects can do this, in one place:

public static final Version MY_APP_CURRENT = Version.LUCENE_30;

then later....

StandardAnalyzer analyzer = new StandardAnalyzer(MY_APP_CURRENT);

then they have complete control of this, independent of when the upgrade lucene's jar file!
Not quite true because you still need to update MY_APP_CURRENT when there is a new version, but yes thats more mangeable

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to