lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Span queries and complex scoring
Date Mon, 17 Sep 2007 21:35:01 GMT

: Lucene has historically taken the exact opposite approach... open up the API
: as needed.  Unless there is very good reason for it, classes and data should
: be kept private.

Just to clarify the reasoning behind this: once something is made public, 
the API has to be supported in perpetuity -- even if no one outside of 
the core is using it, because we don't *know* if anyone is using it.  

when things are private or package protected, committers have a lot more 
leway to commit changes that alter the API if it means better performacne, 
or easier long term maintence.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message