
jira at apache
Nov 5, 2009, 9:43 AM
Post #3 of 3
(60 views)
Permalink
|
|
[jira] Commented: (LUCENE-2032) Spatial Filters not Serializable
[In reply to]
|
|
[ https://issues.apache.org/jira/browse/LUCENE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773995#action_12773995 ] Simon Willnauer commented on LUCENE-2032: ----------------------------------------- bq. The trick is to make the logging object "static final", because it is not needed per instance. See my patch from yesterday. I actually remove that on purpose. There is no other logging code outside of spatial and I guess consistency should go first in that case. Especially for logging it would make sense to have it static and final even if it is not serialized. > Spatial Filters not Serializable > -------------------------------- > > Key: LUCENE-2032 > URL: https://issues.apache.org/jira/browse/LUCENE-2032 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Affects Versions: 2.9 > Reporter: Joey Surls > Assignee: Simon Willnauer > Fix For: 3.0 > > Attachments: LUCENE-2032.patch, LUCENE-2032.txt > > Original Estimate: 0.25h > Remaining Estimate: 0.25h > > I am using Lucene in a distributed setup. > The Filters in the spatial project aren't Serializable even though it inherits it from Filter. Filter is a Serializable class. > DistanceFilter contains the non-Serializable class WeakHashMap. > CartesianShapeFilter contains the non-Serializable class java.util.logging.Logger -- 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: java-dev-unsubscribe[at]lucene.apache.org For additional commands, e-mail: java-dev-help[at]lucene.apache.org
|