| *** mcdonc has joined #zope | 00:05 | |
| *** m8 has quit IRC | 00:52 | |
| *** zenwryly has joined #zope | 01:05 | |
| *** prg3 has quit IRC | 01:36 | |
| *** supton has quit IRC | 01:40 | |
| *** fdrake has quit IRC | 01:45 | |
| *** daMaestro has quit IRC | 02:14 | |
| *** menesis has quit IRC | 02:18 | |
| *** menesis has joined #zope | 02:18 | |
| *** menesis has quit IRC | 02:29 | |
| *** prg3 has joined #zope | 02:42 | |
| *** MatthewWilkes is now known as mwilkes|away | 03:30 | |
| *** kosh has joined #zope | 03:50 | |
| *** tiwula has quit IRC | 04:29 | |
| *** Spanktar has quit IRC | 04:35 | |
| *** Spanktar has joined #zope | 04:48 | |
| *** zagy1 has joined #zope | 05:05 | |
| *** esteele is now known as esteele|away | 05:05 | |
| *** zagy has quit IRC | 05:07 | |
| *** kosh has quit IRC | 07:20 | |
| *** avoinea has joined #zope | 07:46 | |
| *** zagy1 has quit IRC | 07:55 | |
| *** benji has quit IRC | 08:06 | |
| *** zagy has joined #zope | 08:18 | |
| *** benji has joined #zope | 08:45 | |
| *** yvl has joined #zope | 09:43 | |
| *** giacomos has joined #zope | 10:24 | |
| *** emidal has joined #zope | 10:37 | |
| *** agroszer has joined #zope | 10:42 | |
| *** mwilkes|away is now known as MatthewWilkes | 11:08 | |
| *** MatthewWilkes is now known as mwilkes|away | 11:54 | |
| *** menesis has joined #zope | 12:02 | |
| *** avoinea has quit IRC | 12:02 | |
| *** mwilkes|away is now known as MatthewWilkes | 12:07 | |
| *** mitchell`off is now known as mitchell` | 12:16 | |
| *** avoinea has joined #zope | 12:19 | |
| *** avoinea has quit IRC | 12:29 | |
| *** fredvd has joined #zope | 12:38 | |
| *** fredvd has quit IRC | 12:58 | |
| *** fredvd has joined #zope | 13:14 | |
| *** fredvd has quit IRC | 13:16 | |
| *** evilbungle has joined #zope | 13:27 | |
| *** MatthewWilkes is now known as mwilkes|away | 14:13 | |
| *** mwilkes|away is now known as MatthewWilkes | 14:14 | |
| *** agroszer has quit IRC | 14:27 | |
| *** nfre has joined #zope | 14:45 | |
| nfre | anybody familiar with zodb? | 14:45 |
|---|---|---|
| *** giacomos has quit IRC | 15:05 | |
| *** giacomos has joined #zope | 15:06 | |
| *** crazydiamond has quit IRC | 15:23 | |
| *** fredvd has joined #zope | 15:26 | |
| *** nfre has quit IRC | 15:34 | |
| *** esteele|away is now known as esteele | 15:40 | |
| *** goschtl has joined #zope | 15:52 | |
| *** kosh has joined #zope | 15:52 | |
| *** fdrake has joined #zope | 16:00 | |
| *** menesis has quit IRC | 16:13 | |
| *** sp0cksbeard has joined #zope | 16:31 | |
| *** yvl has quit IRC | 16:44 | |
| *** menesis has joined #zope | 17:12 | |
| *** giacomos has quit IRC | 17:20 | |
| *** kosh has quit IRC | 17:24 | |
| *** avoinea has joined #zope | 17:25 | |
| *** giacomos has joined #zope | 17:37 | |
| *** daMaestro has joined #zope | 17:58 | |
| *** supton has joined #zope | 18:04 | |
| *** tiwula has joined #zope | 18:09 | |
| *** crazydiamond has joined #zope | 18:13 | |
| *** kindkid7 has joined #zope | 18:19 | |
| *** zagy has quit IRC | 18:22 | |
| kindkid7 | Is there a way to iterate through the elements in a ZCatalog index, starting from a certain offset? (ie - for "paging" results) | 18:23 |
| sm | kindkid7: there surely is, if we could remember it. Have you found some api docs ? | 18:28 |
| sm | not seeing it at http://143.106.9.7/Control_Panel/Products/ZCatalog/Help/ZCatalog.py , oh well | 18:30 |
| kindkid7 | looks like I can do what I want with a query like: (index_name_goes_here={'query':'some_value', 'range':'min'}), and then just stop iterating early once I have enough for one page | 18:32 |
| kindkid7 | and remember which value I left off at for the next page | 18:33 |
| *** goschtl has quit IRC | 18:33 | |
| kindkid7 | oh, but I guess I'll need to make sure it's yielding the elements in the same order as the index | 18:35 |
| *** zagy has joined #zope | 18:50 | |
| *** alecm has quit IRC | 19:01 | |
| *** giacomos has quit IRC | 19:13 | |
| *** zagy has quit IRC | 19:26 | |
| *** zagy has joined #zope | 19:43 | |
| *** zagy has quit IRC | 19:44 | |
| *** fredvd has quit IRC | 19:55 | |
| *** emidal has quit IRC | 20:05 | |
| *** m8 has joined #zope | 20:11 | |
| *** evilbungle has quit IRC | 20:15 | |
| *** MatthewWilkes is now known as mwilkes|away | 20:19 | |
| supton | kindkid7: so catalog results are lazy sequences. you can just slice them, and they only fetch up to what you need. | 20:33 |
| supton | kindkid7: just use or write a batching implementation based on sequence slicing, and you will have something that works -- only fetching and constructing catalog brains for metadata objects for your slice/batch. The LazyMap sequence otherwise just stores a '_seq' attribute with a list of integer record ids, only getting brains using __getitem__() on demand. | 20:35 |
| supton | sort of like an iterator, but not quite the same | 20:36 |
| kindkid7 | cool, thanks | 20:43 |
| *** benji has quit IRC | 20:49 | |
| *** benji has joined #zope | 21:03 | |
| *** avoinea has quit IRC | 22:02 | |
| *** zagy has joined #zope | 22:12 | |
| *** KageSenshi has quit IRC | 22:19 | |
| *** KageSenshi has joined #zope | 22:19 | |
| *** zagy has quit IRC | 22:27 | |
| *** TresEquis has joined #zope | 22:27 | |
| *** menesis has quit IRC | 22:34 | |
| *** zagy has joined #zope | 22:54 | |
| *** zagy has quit IRC | 23:03 | |
| *** motto has joined #zope | 23:14 | |
| *** m8 has quit IRC | 23:16 | |
| *** motto has quit IRC | 23:31 | |
| *** motto has joined #zope | 23:31 | |
| *** motto is now known as m8 | 23:31 | |
| *** menesis has joined #zope | 23:59 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!