Doug Cutting wrote:
Wolf Siberski wrote:
In the new context, the searcher would be a MultiSearcher,
and to resolve that call at on of the RemoteSearchables, the
method getSimilarity() would have to be called remotely on it.
I think this can be handled by:
a. declaring TermQuery.searcher transient -- this should never be needed
remotely and we don't want to serialize it; and
b. adding a non-transient Similarity field to TermQuery.Weight.
[...]
Does this make sense?
Sounds good. For my current patch, I already had to make Similarities
serializable, and it posed no problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]