Does anyone remember ay specific reason why the MatchAllDocsQuery class doesn't contain something like ...

  public static final MatchAllDocsQuery INSTANCE = new MatchAllDocsQuery();


Tryingto make it a true singleton at this point would certainly break a lot of code -- but is there any reason not to offer a convinience instance for query parsers & rewrite methods & other downstream code to re-use and avoid additional object creation?


-Hoss
http://www.lucidworks.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to