Wednesday, 2016-08-31

*** ddieterly has joined #openstack-searchlight00:25
*** itisha has quit IRC00:30
*** david-lyle_ has joined #openstack-searchlight01:23
*** ddieterly has quit IRC01:46
*** ddieterly has joined #openstack-searchlight02:10
*** Kevin_Zheng has joined #openstack-searchlight02:13
*** david-lyle_ has quit IRC02:31
*** ddieterly has quit IRC02:33
openstackgerritOpenStack Proposal Bot proposed openstack/searchlight: Updated from global requirements  https://review.openstack.org/35952803:10
*** TravT has quit IRC03:13
*** TravT has joined #openstack-searchlight03:14
*** TravT_ has joined #openstack-searchlight03:37
*** TravT has quit IRC03:37
*** shu-mutou has quit IRC05:30
*** pcaruana has joined #openstack-searchlight06:15
openstackgerritHa Van Tu proposed openstack/searchlight: Config logABug feature for searchlight api-ref  https://review.openstack.org/36342806:37
openstackgerritCao Xuan Hoang proposed openstack/python-searchlightclient: TrivialFix: Remove logging import unused  https://review.openstack.org/36347208:17
*** yingjun has quit IRC09:51
*** ddieterly has joined #openstack-searchlight11:57
*** Kevin_Zheng has quit IRC11:59
*** ddieterly has quit IRC12:02
*** Kevin_Zheng has joined #openstack-searchlight12:04
*** ddieterly has joined #openstack-searchlight12:12
*** ddieterly has quit IRC12:29
*** openstackgerrit has quit IRC12:34
*** openstackgerrit has joined #openstack-searchlight12:34
*** ddieterly has joined #openstack-searchlight13:05
*** ddieterly has quit IRC13:09
*** matt-borland has joined #openstack-searchlight13:36
*** ddieterly has joined #openstack-searchlight13:39
*** sjmc7 has joined #openstack-searchlight13:50
*** yingjun has joined #openstack-searchlight13:50
*** matt-borland has quit IRC14:09
*** david-lyle_ has joined #openstack-searchlight14:37
*** ddieterly is now known as ddieterly[away]14:38
*** ddieterly[away] is now known as ddieterly14:40
*** david-lyle_ has quit IRC14:59
*** ddieterly is now known as ddieterly[away]15:11
*** ddieterly[away] is now known as ddieterly15:11
*** ddieterly is now known as ddieterly[away]15:11
*** ddieterly[away] is now known as ddieterly15:20
*** pcaruana has quit IRC15:22
*** TravT_ has quit IRC15:40
*** TravT has joined #openstack-searchlight15:44
*** matt-borland has joined #openstack-searchlight15:47
openstackgerritSteve McLellan proposed openstack/searchlight: Allow aggregations in search requests  https://review.openstack.org/36377316:02
*** ddieterly is now known as ddieterly[away]16:28
*** ddieterly[away] is now known as ddieterly16:34
*** ddieterly is now known as ddieterly[away]16:42
*** ddieterly[away] is now known as ddieterly16:49
openstackgerritSteve McLellan proposed openstack/searchlight: Allow aggregations in search requests  https://review.openstack.org/36377316:51
*** ddieterly is now known as ddieterly[away]16:52
*** ddieterly[away] is now known as ddieterly17:13
*** itisha has joined #openstack-searchlight17:22
*** ddieterly is now known as ddieterly[away]17:22
*** ddieterly[away] is now known as ddieterly17:27
openstackgerritSteve McLellan proposed openstack/searchlight: Add region name to mappings and documents  https://review.openstack.org/35368117:29
*** pcaruana has joined #openstack-searchlight17:39
*** ddieterly is now known as ddieterly[away]17:43
*** Kevin_Zheng has quit IRC18:06
*** Kevin_Zheng has joined #openstack-searchlight18:11
*** ddieterly[away] is now known as ddieterly18:24
*** TravT_ has joined #openstack-searchlight18:33
*** TravT has quit IRC18:36
*** ddieterly is now known as ddieterly[away]18:41
*** ddieterly[away] is now known as ddieterly18:45
*** ddieterly is now known as ddieterly[away]18:46
*** david-lyle_ has joined #openstack-searchlight18:52
*** david-lyle_ has quit IRC18:52
*** ddieterly[away] is now known as ddieterly18:59
*** ddieterly is now known as ddieterly[away]19:16
*** ddieterly[away] is now known as ddieterly19:20
*** TravT_ has quit IRC19:41
*** ddieterly has quit IRC19:45
*** TravT has joined #openstack-searchlight20:05
*** TravT_ has joined #openstack-searchlight20:05
*** TravT has quit IRC20:10
*** TravT_ is now known as TravT20:20
TravTsjmc7: are you okay with adding the example i mentioned here:20:29
TravThttps://review.openstack.org/#/c/363773/2/doc/source/searchlightapi.rst20:29
TravTor against it20:29
TravTi can be arm twisted either way20:29
TravTbut either way want to get this patch on in20:29
sjmc7i can add a nested one20:30
TravTokay, cool20:30
sjmc7i don’t want to go overboard; i don’t like replicating the DSL documentation20:30
TravTthat one actually works.20:30
TravTyeah, i'm just thinking that it could help somebody understand it with an example using real data and a real use case20:30
sjmc7instead of the one i did? ok20:31
TravTin addition20:31
TravTyours is nice and smiple20:31
sjmc7mmmmm20:31
TravTsimple20:31
TravTyou could reduce mine to just be images or flavors20:31
TravTnot both20:31
sjmc7ok20:31
TravTjust the nested stuff is ugly20:32
sjmc7those fields really shouldn’t be nested20:32
sjmc7mauybe we should pop them out now while we have the chance20:32
TravThmmm...20:32
sjmc7or duplicate them at least20:33
TravTwe did it in case we de-normalized, but also the nova api has it that way20:34
TravTit would make querying easier to duplicate20:34
sjmc7they never should have been nested; it’s a 1:1 mapping20:35
sjmc7we could still store it as “flavor”: {“id”: “1”}20:35
sjmc7so i’d kind of rather not give that example because it highlights a mistake :)20:36
TravTbut it is how to get that info20:37
TravThttp://developer.openstack.org/api-ref/compute/?expanded=list-servers-detailed-detail20:37
TravTbut, i know what you mean20:37
sjmc7right, but it doesn’t need to be nested20:38
TravTnova will likely decide to change it all in a future microversion anyway20:38
sjmc7it can still be an object20:38
sjmc7https://www.elastic.co/guide/en/elasticsearch/reference/current/object.html20:38
sjmc7“nested” has a specific function to during indexing20:38
sjmc7for when you’ve got arrays of inner jobjects20:39
TravTahh, i was thinking differently20:39
TravTsee what you are meaning now20:39
sjmc7i’ve gone all yoda20:39
TravTyou mean it is a mistake how we map it20:39
sjmc7yeah20:40
sjmc7i bet if you change “nested” to “object” nothing bad will happen20:40
TravTit makes querying quite a bit harder actually20:40
sjmc7and querying will become magically easier20:40
sjmc7yes, it does20:40
sjmc7it’s necessary in some cases20:40
sjmc7like the port listings20:40
TravTthis might even make some things in current UI possible to query20:40
TravTwe should file a bug on this and fix all nested mappings20:40
TravTwell, all nested mappings that shouldn't be20:41
sjmc7yeah. usually with this kind of thing you’d map it in two ways; we’re a little constrained by sticking to the APIs. IP addresses i would argue we should’ve pulled out too20:41
sjmc7i don’t think there are many. the neutron ones were intentional as far as i know20:41
TravThow does double mapping affect scoring?20:41
TravTfor a full text query?20:41
sjmc7it’ll boost those fields20:42
TravTi'd think it would inappropriately boost20:42
sjmc7but if you’re looking for an IP i’d be ok with it boosting it20:42
sjmc7also you can negative boost stuff20:42
sjmc7https://www.elastic.co/guide/en/elasticsearch/reference/current/index-boost.html20:42
sjmc7hahaha “Why index time boosting is a bad idea"20:42
sjmc7i think we should file that20:43
sjmc7i’ve thought about it a couple of times then always forget again20:43
TravTokay, you want to do it?20:43
sjmc7ok20:43
TravTassign to rc-120:43
TravTi'm going to tag milestone 3 today if i can20:43
TravTjust 3 reviews looking to complete20:44
sjmc7ok. let’s leave the aggs documentation then for now20:44
sjmc7can add stuff later to documentation20:44
TravTokay20:44
TravTI'll change my vote to +220:45
sjmc7i’ll address rick’s comments on the region patch20:45
sjmc7you want me to mark it RC1?20:47
sjmc7this bug?20:47
TravTwe probably shouldn't rush that one in today.20:47
TravTso, yes20:47
sjmc7https://bugs.launchpad.net/searchlight/+bug/161904720:51
openstackLaunchpad bug 1619047 in OpenStack Search (Searchlight) "Unnest nova server flavor and image mapping properties" [High,New]20:51
sjmc7some more candidates in there20:51
TravTyeah, if you see anything that should be marked, go ahead and do it20:52
sjmc7RickA-HP: not sure it matters that the types don’t match in the region name20:52
sjmc7elasticsearch won’t care20:52
sjmc7there’s a test checking both20:52
sjmc7did you find a specific problem with it?20:53
RickA-HPsjmc7: If they don't match it will be harder to programatically analyze the results. For example, searchlight-ui.20:54
sjmc7? elasticsearch won’t returna  list if there’s one value anyway20:54
RickA-HPBut searchlight will return a list (with any number of entries) if that is what we are indexing.20:56
sjmc7will it?20:56
sjmc7perhaps i am mistaken20:56
RickA-HPWHen I tried it using both the default and an override, this is what I see returned:20:56
RickA-HP"region_name" : "RegionOne" for the default.20:56
RickA-HP"region_name" : ["OverrideTest01"] for the single override value.20:57
RickA-HPThis is from Elasticsearch, I meant.20:57
sjmc7ah, interesting. ok. i don’t really care either way, can make it a list20:57
sjmc7but i think [None] will cause problems20:57
RickA-HPHow about [""] :)20:58
sjmc7ok, one sec, will make it a list20:59
sjmc7but this is a problem with elasticsearch in general; it will unexpectedly return lists on you if you’re not careful21:01
*** matt-borland has quit IRC21:01
sjmc7it seems a bit weird having it named singular if there’s always a list21:04
sjmc7not really that bothered either way i guess21:04
openstackgerritSteve McLellan proposed openstack/searchlight: Add region name to mappings and documents  https://review.openstack.org/35368121:07
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Display correct number of total results  https://review.openstack.org/36029022:22
*** TravT has quit IRC22:49
*** yingjun has quit IRC23:10
*** yingjun has joined #openstack-searchlight23:11
*** yingjun has quit IRC23:15
openstackgerritRick Aulino proposed openstack/searchlight: Add "updated_at" field to all mappings.  https://review.openstack.org/36156223:18

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!