From: Isidor Z. <cl...@qu...> - 2009-05-31 04:45:10
|
> > I'd rather have a look at all the rewrite() implementations in the original > JL code (the 2.3.2 version of it at least), and see where it's being called > from exactly. Based on that, I'd format a policy, and then implement it in > CL, overriding previous implementations if necessary. > jlucene seems to rely on garbage collection there, so callers are free to assume that both the original and the rewritten version are available after rewrite(). So if we want to base the clucene version on that, reference counting is a must. However, I do wonder if the existing code can be easily changed to allow the rewrite() methods to delete the original query when creating a new one. Best regards, Isidor |