Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Updated: (LUCENE-2032) Spatial Filters not Serializable

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Nov 4, 2009, 2:15 PM

Post #1 of 5 (87 views)
Permalink
[jira] Updated: (LUCENE-2032) Spatial Filters not Serializable

[ https://issues.apache.org/jira/browse/LUCENE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joey Surls updated LUCENE-2032:
-------------------------------

Description:
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


was:
I am using Lucene in a distributed setup.

The DistanceFilter in the spatial project isn't Serializable even though it inherits it from Filter. Filter is a Serializable class.

DistanceFilter contains the non-Serializable class WeakHashMap.

Summary: Spatial Filters not Serializable (was: DistanceFilter not Serializable)

> 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
> 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


jira at apache

Nov 4, 2009, 7:36 PM

Post #2 of 5 (77 views)
Permalink
[jira] Updated: (LUCENE-2032) Spatial Filters not Serializable [In reply to]

[ https://issues.apache.org/jira/browse/LUCENE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-2032:
----------------------------------

Attachment: LUCENE-2032.patch

This patch fixes it in trunk.

> 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
> Attachments: LUCENE-2032.patch
>
> 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


jira at apache

Nov 5, 2009, 9:21 AM

Post #3 of 5 (70 views)
Permalink
[jira] Updated: (LUCENE-2032) Spatial Filters not Serializable [In reply to]

[ https://issues.apache.org/jira/browse/LUCENE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer updated LUCENE-2032:
------------------------------------

Attachment: LUCENE-2032.txt

I made Shape serializable and cleaned up the code in CartensianShapeFilter slightly. The patch removes the logging code too as we do not have logging code elsewhere. I'm not keen to write a readObject method just for the sake of creating the logging object as it is not serializable.
The patch contains a testcase for serializable too.



> 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


jira at apache

Nov 5, 2009, 9:51 AM

Post #4 of 5 (70 views)
Permalink
[jira] Updated: (LUCENE-2032) Spatial Filters not Serializable [In reply to]

[ https://issues.apache.org/jira/browse/LUCENE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer updated LUCENE-2032:
------------------------------------

Priority: Minor (was: Major)

> 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
> Priority: Minor
> 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


jira at apache

Nov 5, 2009, 10:11 AM

Post #5 of 5 (70 views)
Permalink
[jira] Updated: (LUCENE-2032) Spatial Filters not Serializable [In reply to]

[ https://issues.apache.org/jira/browse/LUCENE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer updated LUCENE-2032:
------------------------------------

Attachment: LUCENE-2032.txt

I removed the last logging reference from CartesianPolyFilterBuilder...

> 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
> Priority: Minor
> Fix For: 3.0
>
> Attachments: LUCENE-2032.patch, LUCENE-2032.txt, 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

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.