[
https://issues.apache.org/jira/browse/LUCENE-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656071#action_12656071
]
Doug Cutting commented on LUCENE-1473:
--------------------------------------
> Therefore the patch is to be taken as contribution to explore the design
> space [ ... ]
Yes, and it is much appreciated for that. Thanks again!
> Currently Searchable does include a HitCollector-based search method [ ... ]
You're right. I misremembered. This dates back to the origin of Searchable.
http://svn.apache.org/viewvc?view=rev&revision=149813
Personally, I think it would be reasonable for a distributed implementation to
throw an exception if one tries to use a HitCollector.
> We could either solve it along the line you propose, or revert to pass the
> Weight again instead of the Query.
Without using an introspection-based serialization like Java serialization it
would be difficult to pass a Weight over the wire using public APIs, since most
implementations are not public. But, since Weight's are constructed via a
standard protocol, the method I outlined could work.
> Implement standard Serialization across Lucene versions
> -------------------------------------------------------
>
> Key: LUCENE-1473
> URL: https://issues.apache.org/jira/browse/LUCENE-1473
> Project: Lucene - Java
> Issue Type: Bug
> Components: Search
> Affects Versions: 2.4
> Reporter: Jason Rutherglen
> Priority: Minor
> Attachments: custom-externalizable-reader.patch, LUCENE-1473.patch,
> LUCENE-1473.patch, LUCENE-1473.patch, LUCENE-1473.patch,
> lucene-contrib-remote.patch
>
> Original Estimate: 8h
> Remaining Estimate: 8h
>
> To maintain serialization compatibility between Lucene versions,
> serialVersionUID needs to be added to classes that implement
> java.io.Serializable. java.io.Externalizable may be implemented in classes
> for faster performance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]