See http://lucene.markmail.org/message/fu34tuomnqejchfj?q=RemoteSearchable
for just such a proposal
On Dec 8, 2008, at 1:52 PM, Doug Cutting (JIRA) wrote:
[ https://issues.apache.org/jira/browse/LUCENE-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654513
#action_12654513 ]
Doug Cutting commented on LUCENE-1473:
--------------------------------------
Would it take any more lines of code to remove Serializeable from
the core classes and re-implement RemoteSearchable in a separate
layer on top of the core APIs? That layer could be a contrib module
and could get all the externalizeable love it needs. It could
support a specific popular subset of query and filter classes,
rather than arbitrary Query implementations. It would be
extensible, so that if folks wanted to support new kinds of queries,
they easily could. This other approach seems like a slippery slope,
complicating already complex code with new concerns. It would be
better to encapsulate these concerns in a layer atop APIs whose back-
compatibility we already make promises about, no?
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
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]
--------------------------
Grant Ingersoll
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]