*** nyo1 has joined #zope3-dev | 00:03 | |
*** nyo has quit IRC | 00:06 | |
*** nyo1 has quit IRC | 00:08 | |
*** basti has joined #zope3-dev | 00:17 | |
*** gc_basti has quit IRC | 00:35 | |
*** jhauser has quit IRC | 00:38 | |
*** redir is now known as redir|afk | 00:42 | |
*** aaronv has quit IRC | 00:45 | |
*** sunew has quit IRC | 00:45 | |
*** aaronv has joined #zope3-dev | 00:46 | |
*** sp0cksbeard has quit IRC | 00:53 | |
*** jpcw has quit IRC | 01:01 | |
*** lucielejard has quit IRC | 01:01 | |
*** basti has quit IRC | 01:01 | |
*** jamur2 has quit IRC | 01:10 | |
*** yotaff has quit IRC | 01:16 | |
*** ignas has quit IRC | 01:21 | |
*** zagy_ has quit IRC | 01:22 | |
*** davisagli has quit IRC | 01:27 | |
*** davisagli has joined #zope3-dev | 01:28 | |
*** lurkymclurkleton has quit IRC | 01:32 | |
*** yotaff has joined #zope3-dev | 01:41 | |
*** malthe|bbl is now known as malthe|Zzz | 02:03 | |
*** davisagli_ has joined #zope3-dev | 02:07 | |
*** davisagli has quit IRC | 02:07 | |
*** davisagli_ is now known as davisagli | 02:08 | |
*** davisagli_ has joined #zope3-dev | 02:15 | |
*** davisagli has quit IRC | 02:21 | |
*** davisagli_ is now known as davisagli | 02:21 | |
*** tarek is now known as tarek|away | 02:21 | |
*** timte has quit IRC | 02:26 | |
*** davisagli has quit IRC | 02:38 | |
*** pelle_ has quit IRC | 02:38 | |
*** rmarianski has quit IRC | 02:40 | |
*** aaronv has quit IRC | 02:48 | |
*** kaeru has joined #zope3-dev | 02:53 | |
*** davisagli has joined #zope3-dev | 03:03 | |
*** lisppaste6 has quit IRC | 03:19 | |
*** lisppaste6 has joined #zope3-dev | 03:27 | |
*** fmail has joined #zope3-dev | 03:34 | |
*** fmail has left #zope3-dev | 03:34 | |
*** quodt has quit IRC | 03:38 | |
*** harobed has quit IRC | 03:48 | |
*** natea_ has joined #zope3-dev | 04:34 | |
*** greenman has quit IRC | 04:44 | |
*** jfkw has quit IRC | 06:02 | |
*** greenman has joined #zope3-dev | 06:07 | |
*** binseer has joined #zope3-dev | 06:32 | |
*** natea__ has joined #zope3-dev | 06:37 | |
*** natea_ has quit IRC | 06:42 | |
*** natea_ has joined #zope3-dev | 06:43 | |
*** natea___ has joined #zope3-dev | 06:45 | |
*** natea__ has quit IRC | 07:02 | |
*** natea_ has quit IRC | 07:07 | |
*** baijum has joined #zope3-dev | 07:08 | |
*** JaRoel|4D has quit IRC | 08:33 | |
*** zagy has joined #zope3-dev | 09:08 | |
*** zagy_ has joined #zope3-dev | 09:12 | |
*** mintsauce has joined #zope3-dev | 09:24 | |
*** zagy has quit IRC | 09:24 | |
*** JaRoel|4D has joined #zope3-dev | 09:32 | |
*** JaRoel|4_ has joined #zope3-dev | 09:35 | |
*** ktwilight_ has joined #zope3-dev | 09:43 | |
*** fairwinds has quit IRC | 09:45 | |
*** JaRoel|4_ has quit IRC | 09:46 | |
*** JaRoel|4_ has joined #zope3-dev | 09:47 | |
*** JaRoel|4D has quit IRC | 09:56 | |
*** ktwilight has quit IRC | 09:56 | |
*** davisagli has left #zope3-dev | 10:00 | |
*** pelle_ has joined #zope3-dev | 10:00 | |
*** Theuni has joined #zope3-dev | 10:16 | |
*** afd__ has joined #zope3-dev | 10:17 | |
*** MJ has joined #zope3-dev | 10:38 | |
*** Theuni has quit IRC | 10:38 | |
*** zagy has joined #zope3-dev | 11:17 | |
*** tarek|away is now known as tarek | 11:26 | |
*** nyo has joined #zope3-dev | 11:28 | |
*** mintsauce has quit IRC | 11:32 | |
*** tarek is now known as tarek|away | 11:32 | |
*** zagy_ has quit IRC | 11:38 | |
*** jhauser has joined #zope3-dev | 11:49 | |
*** binseer has quit IRC | 11:59 | |
*** binseer has joined #zope3-dev | 12:15 | |
*** malthe|Zzz is now known as malthe | 12:19 | |
*** afd__ has quit IRC | 12:34 | |
*** afd__ has joined #zope3-dev | 12:36 | |
*** romanofs1i has joined #zope3-dev | 12:40 | |
*** romanofs1i has quit IRC | 12:44 | |
*** afd__ has quit IRC | 12:44 | |
*** romanofski has quit IRC | 12:45 | |
*** romanofski has joined #zope3-dev | 12:46 | |
nyo | mcdonc: ayt? | 12:46 |
---|---|---|
*** tarek|away has quit IRC | 12:46 | |
mcdonc | nyo: hey | 12:46 |
*** afd__ has joined #zope3-dev | 12:48 | |
nyo | mcdonc: need to decide on IIndexSort interface. Should the sort method return an _iterable_ (like generator) or require them to return a finite sequence. I wonder if there can be any problems (performance or programming ones) with returning sequences from the ``sort`` method of some indexes. | 12:48 |
mcdonc | nyo: the interface should probably make as few promises about this as possible.. just that it be iterable | 12:49 |
nyo | mcdonc: currently, for example, the z.a.catalog needs a sequence, so it has to manually do the list(index.sort(...)) thing, but we could just require the sort method to return a sequence | 12:49 |
mcdonc | why does z.a.catalog need a sequence? | 12:50 |
nyo | mcdonc: because it needs to know length | 12:50 |
mcdonc | ah | 12:51 |
mcdonc | oh | 12:51 |
mcdonc | one thing i thought of | 12:51 |
nyo | mcdonc: the ResultSet object that catalog's searchResults returns has the __len__ object | 12:51 |
mcdonc | and this would make it possible to not need the length | 12:51 |
nyo | /object/method/ | 12:51 |
mcdonc | instead of throwing away docids that dont have a value in the sort index... | 12:51 |
mcdonc | maybe the IIndexSort interface can take a flag | 12:51 |
mcdonc | sort_unknown_bottom=True (bad name) | 12:52 |
nyo | ? | 12:52 |
mcdonc | but essentially a flag that tells the sort method how to sort docids that dont have a value in the sort index | 12:52 |
mcdonc | whether they should be at the bottom or the top | 12:53 |
mcdonc | so the length of the iterable you get back from the sort method would be guaranteed to be the length of the set you passed in to sort | 12:53 |
mcdonc | (and then you dont need to recompute length, you'd have it already) | 12:53 |
nyo | mcdonc: I don't think it's possible anyway. it will break ResultSet. it relies on the sequence nature of uid list | 12:54 |
*** jpcw has joined #zope3-dev | 12:54 | |
nyo | mcdonc: if there will be a generator, it will work only once for example | 12:54 |
nyo | (iteration, i mean) | 12:55 |
mcdonc | that's mostly resultset's problem i think | 12:55 |
mcdonc | random access into the result set is a higher-level thing | 12:55 |
mcdonc | and unwinding the generator if its necessary is probably the right thing | 12:56 |
mcdonc | random access into a result set is sort of nonsensical for most apps i think | 12:56 |
nyo | mcdonc: so you think we need to declare it just as iterable as it's now? | 12:57 |
mcdonc | nyo: i think so... at least avoid promising that it will be a fully materialized random-acessible thing... does that make sense? | 12:57 |
nyo | mcdonc: yep | 12:58 |
mcdonc | great | 12:58 |
mcdonc | what do you think of the dont-throw-away-values thing | 12:58 |
nyo | mcdonc: appending docids that is not in the index to the top/bottom can be quite hard to implement | 12:58 |
nyo | in some cases ) | 12:58 |
mcdonc | maybe yeah | 12:58 |
mcdonc | i havent done it yet | 12:59 |
mcdonc | it sounds good ;-) | 12:59 |
nyo | also, I don't think there will be much cases where it's needed | 12:59 |
mcdonc | i think it'll always be bottom anyway | 12:59 |
mcdonc | if it were to be implemented | 12:59 |
mcdonc | i dont want random stuff at the top of my result set | 12:59 |
mcdonc | so i think it's fine to avoid it for now in the interface | 13:00 |
nyo | mcdonc: btw, even FieldIndex can't do that nicely when using set intersections | 13:00 |
mcdonc | right | 13:00 |
nyo | mcdonc: ok | 13:00 |
mcdonc | thanks for taking charge of this ;-) | 13:01 |
nyo | mcdonc: I'll commit keywordindex backward-incompatibility breakage now (normalization thing, we talked about), can you review? | 13:01 |
mcdonc | sure | 13:01 |
*** greenman has quit IRC | 13:07 | |
*** harobed has joined #zope3-dev | 13:10 | |
*** pelle_ has quit IRC | 13:11 | |
nyo | mcdonc: Done. I also wrote an explanation in CHANGES.txt, please review that as well. | 13:12 |
nyo | mcdonc: I'm afk for some time | 13:12 |
mcdonc | nyo: ok... will do | 13:13 |
*** toutpt has joined #zope3-dev | 13:16 | |
mcdonc | nyo: would you be willing to reverse the arg order of limit and reverse in IIndexSort? it'd help me not need to subclass to service existing code | 13:31 |
nyo | mcdonc: sort(docids, reverse=False, limit=None)? of course. that will do more sense even:) | 13:41 |
*** tarek|away has joined #zope3-dev | 13:42 | |
mcdonc | nyo: yes, great... | 13:42 |
nyo | mcdonc: done | 13:43 |
mcdonc | thank you! | 13:43 |
nyo | so I'm going to release it. others seems to either don't have any objections or are not interested (so they also don't have objections). | 13:44 |
mcdonc | nyo: go for it | 13:44 |
mcdonc | this is factored really nicely... its great we can both use the same index impls but different catalog impls | 13:46 |
nyo | mcdonc: yeah, they can also be used just separately or with z3c.indexer | 13:47 |
* mcdonc reads http://svn.zope.org/z3c.indexer/trunk/src/z3c/indexer/README.txt?rev=93529&view=markup | 13:48 | |
mcdonc | good idea... | 13:50 |
mcdonc | yes, i suspect that being able to spell the ordering of which indexes to intersect in what order would help performance too... z.a.catalog and repoze.catalog dont allow for this | 13:51 |
nyo | mcdonc: yeah, it also does index-on-commit so it does less indexing-unindexing when using event-based indexing | 13:52 |
mcdonc | sweet | 13:53 |
*** tarek|away has quit IRC | 13:53 | |
mcdonc | that's awesome | 13:54 |
mcdonc | i'm so going to steal that ;-) | 13:55 |
nyo | mcdonc: okay, 3.5.0 is there | 13:59 |
mcdonc | nyo: cool, thanks | 13:59 |
*** tarek|away has joined #zope3-dev | 14:20 | |
*** Jell-O-Fishi has quit IRC | 14:28 | |
*** goschtl has joined #zope3-dev | 14:41 | |
*** tarek|away has quit IRC | 14:47 | |
*** tarek|away has joined #zope3-dev | 14:48 | |
*** timte has joined #zope3-dev | 15:11 | |
*** tarek|away has quit IRC | 15:16 | |
*** jayaraj has joined #zope3-dev | 15:21 | |
*** fairwinds has joined #zope3-dev | 15:22 | |
*** malthe is now known as malthe|away | 15:42 | |
*** romanofski has quit IRC | 15:48 | |
goschtl | hi has anyone an example of a custom IGroup implementation? | 15:49 |
nyo | any1 interested in reviewing "nadako-sorting" branch of zope.app.catalog? :) | 15:51 |
*** kaeru has quit IRC | 15:52 | |
*** lurkymclurkleton has joined #zope3-dev | 15:57 | |
*** lurkymclurkleton has joined #zope3-dev | 15:58 | |
*** jayaraj has quit IRC | 16:02 | |
*** jamur2 has joined #zope3-dev | 16:02 | |
*** jayaraj has joined #zope3-dev | 16:03 | |
*** sp0cksbeard has joined #zope3-dev | 16:09 | |
*** binseer has quit IRC | 16:35 | |
*** sawdog has joined #zope3-dev | 16:40 | |
*** zagy has quit IRC | 16:43 | |
*** zagy has joined #zope3-dev | 16:43 | |
*** redir|afk is now known as redir | 16:44 | |
*** baijum has quit IRC | 16:52 | |
*** aaronv has joined #zope3-dev | 16:56 | |
*** jayaraj has quit IRC | 16:56 | |
*** aaronv has quit IRC | 16:57 | |
*** kaeru has joined #zope3-dev | 16:58 | |
*** zagy has quit IRC | 16:58 | |
*** zagy has joined #zope3-dev | 16:58 | |
*** natea___ has quit IRC | 17:00 | |
*** MJ has quit IRC | 17:03 | |
*** Theuni has joined #zope3-dev | 17:11 | |
*** natea_ has joined #zope3-dev | 17:23 | |
*** reco has joined #zope3-dev | 17:36 | |
*** natea_ has quit IRC | 17:57 | |
*** goschtl has quit IRC | 17:58 | |
*** jukart has joined #zope3-dev | 18:09 | |
*** jukart has quit IRC | 18:09 | |
*** nyo has quit IRC | 18:20 | |
*** iham is now known as iham|away | 18:23 | |
*** natea_ has joined #zope3-dev | 18:42 | |
*** JaRoel|4_ has quit IRC | 18:45 | |
*** JaRoel|4D has joined #zope3-dev | 18:45 | |
*** davisagli has joined #zope3-dev | 18:53 | |
*** tarek|away has joined #zope3-dev | 19:03 | |
*** Theuni has quit IRC | 19:08 | |
*** tarek|away is now known as tarek | 19:15 | |
*** dbfrombrc|away has quit IRC | 19:25 | |
*** JaRoel|4D has quit IRC | 19:30 | |
*** reco_ has joined #zope3-dev | 19:33 | |
*** nyo has joined #zope3-dev | 19:37 | |
*** toutpt has quit IRC | 19:41 | |
*** tarek has quit IRC | 19:48 | |
*** reco has quit IRC | 19:59 | |
*** natea_ has quit IRC | 19:59 | |
*** reco has joined #zope3-dev | 20:03 | |
*** JaRoel|4D has joined #zope3-dev | 20:14 | |
*** reco_ has quit IRC | 20:20 | |
*** lucielejard has joined #zope3-dev | 20:27 | |
*** tarek has joined #zope3-dev | 20:28 | |
*** pelle_ has joined #zope3-dev | 20:32 | |
*** tarek has quit IRC | 20:38 | |
*** iham|away has quit IRC | 20:41 | |
*** jfkw has joined #zope3-dev | 20:44 | |
*** afd__ has quit IRC | 20:56 | |
*** yotaff has quit IRC | 21:13 | |
*** sunew has joined #zope3-dev | 21:21 | |
*** tarek has joined #zope3-dev | 21:27 | |
*** tarek has quit IRC | 21:55 | |
*** greenman has joined #zope3-dev | 22:00 | |
*** greenman has quit IRC | 22:04 | |
*** jhauser has quit IRC | 22:10 | |
*** MrSipan has joined #zope3-dev | 22:26 | |
*** aaronv has joined #zope3-dev | 22:29 | |
*** jfkw has quit IRC | 22:48 | |
*** zagy has quit IRC | 22:52 | |
*** greenman has joined #zope3-dev | 22:52 | |
*** redir` has joined #zope3-dev | 23:16 | |
*** MrSipan has quit IRC | 23:17 | |
*** pelle_ has quit IRC | 23:17 | |
*** sp0cksbeard has quit IRC | 23:17 | |
*** timte has quit IRC | 23:17 | |
*** harobed has quit IRC | 23:17 | |
*** BjornT has quit IRC | 23:17 | |
*** aclark has quit IRC | 23:17 | |
*** redir has quit IRC | 23:17 | |
*** aclark has joined #zope3-dev | 23:18 | |
*** BjornT has joined #zope3-dev | 23:18 | |
*** wgrant has joined #zope3-dev | 23:19 | |
*** harobed has joined #zope3-dev | 23:21 | |
*** pelle_ has joined #zope3-dev | 23:22 | |
*** MrSipan has joined #zope3-dev | 23:22 | |
*** davisagli has quit IRC | 23:22 | |
*** timte has joined #zope3-dev | 23:23 | |
*** dbfrombrc has joined #zope3-dev | 23:28 | |
*** zagy has joined #zope3-dev | 23:28 | |
*** acsr has joined #zope3-dev | 23:39 | |
*** brandon_rhodes has joined #zope3-dev | 23:46 | |
*** dbfrombrc has quit IRC | 23:54 | |
*** acsr_ has quit IRC | 23:54 | |
*** calimero has joined #zope3-dev | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!