Applying Multiple Caches support

6 views
Skip to first unread message

Bruno Rezende

unread,
Mar 11, 2011, 10:05:00 AM3/11/11
to xappy-discuss
Hi,

I've added support to applying multiple caches to a xappy index here:

http://code.google.com/p/xappy/issues/detail?id=36

it still misses some tests related to document removal and update, but
I think it is in shape for a review. If someone can take a look, i'd
be grateful.

regards,
Bruno

Richard Boulton

unread,
Mar 11, 2011, 10:06:59 AM3/11/11
to xappy-...@googlegroups.com, Bruno Rezende
I'll take a look at this over the weekend. Thanks for producing patches.

> --
> You received this message because you are subscribed to the Google Groups "xappy-discuss" group.
> To post to this group, send email to xappy-...@googlegroups.com.
> To unsubscribe from this group, send email to xappy-discus...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/xappy-discuss?hl=en.
>
>

--
Celestial Navigation Limited, incorporated in England & Wales
(registration number 06978117), registered office address: 58
Kingsway, Duxford, Cambridgeshire, CB224QN, UK.

Bruno Rezende

unread,
Mar 14, 2011, 9:27:01 AM3/14/11
to Richard Boulton, xappy-...@googlegroups.com
There is a new version of the patch that handles 'replace' and 'delete':

http://code.google.com/p/xappy/issues/attachmentText?id=36&aid=-3979246154754598562&name=multicache.diff&token=5f7a1f2276356b317e392e15ff5350d2

I'm not sure how we should handle deletions when an index has more
than one cache applied.

--
Bruno

Bruno Rezende

unread,
Mar 16, 2011, 8:52:44 AM3/16/11
to Richard Boulton, xappy-...@googlegroups.com
On Mon, Mar 14, 2011 at 10:27 AM, Bruno Rezende
<brunovia...@gmail.com> wrote:
> There is a new version of the patch that handles 'replace' and 'delete':
>
> http://code.google.com/p/xappy/issues/attachmentText?id=36&aid=-3979246154754598562&name=multicache.diff&token=5f7a1f2276356b317e392e15ff5350d2
>
> I'm not sure how we should handle deletions when an index has more
> than one cache applied.
>

I changed the way we deal with deletions when we have multiple applied caches.

The new patch is here:
http://code.google.com/p/xappy/issues/attachmentText?id=36&aid=3390807064686651435&name=multicache.diff&token=bfccdbc7cb0e6ae2d4394e88519658e8

The deletion of documents when we use applied caches must be done by
the user. I know this is sub-optimal, but it is simple enough for now.

--
Bruno

Reply all
Reply to author
Forward
0 new messages