lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <>
Subject [jira] Commented: (LUCENE-1473) Implement standard Serialization across Lucene versions
Date Fri, 12 Dec 2008 17:20:44 GMT


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.

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

> Implement standard Serialization across Lucene versions
> -------------------------------------------------------
>                 Key: LUCENE-1473
>                 URL:
>             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 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:
For additional commands, e-mail:

View raw message