lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-853) Caching does not work when using RMI
Date Wed, 04 Apr 2007 23:02:32 GMT

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

Otis Gospodnetic updated LUCENE-853:
------------------------------------

    Attachment: RemoteCachingWrapperFilter.patch

Here is a cleaned up version.
- Changed CachingWrapperFilter - private -> protected vars, so CachingWrapperFilterHelper
can extend it
- Expanded unit tests to be more convincing
- Javadocs all fixed up + cosmetics + code comments

n.b.
The @todo in CachingWrapperFilter can go now:
   /**
    * @todo What about serialization in RemoteSearchable?  Caching won't work.
    *       Should transient be removed?
    */
  protected transient Map cache;

We keep the transient, and if you want remote caching, use RemoteCachingWrapperFilter.


I'll commit on Friday.


> Caching does not work when using RMI
> ------------------------------------
>
>                 Key: LUCENE-853
>                 URL: https://issues.apache.org/jira/browse/LUCENE-853
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 2.1
>         Environment: All 
>            Reporter: Matt Ericson
>            Priority: Minor
>         Attachments: RemoteCachingWrapperFilter.patch, RemoteCachingWrapperFilter.patch,
RemoteCachingWrapperFilter.patch, RemoteCachingWrapperFilter.patch .patch
>
>
> Filters and caching uses transient maps so that caching does not work if you are using
RMI and a remote searcher 
> I want to add a new RemoteCachededFilter that will make sure that the caching is done
on the remote searcher side 
>  

-- 
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@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message