*** shu-mutou has joined #openstack-searchlight | 00:05 | |
*** yingjun has joined #openstack-searchlight | 00:31 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/searchlight: Updated from global requirements https://review.openstack.org/307778 | 00:42 |
---|---|---|
*** bpokorny has quit IRC | 01:07 | |
*** yingjun has quit IRC | 01:13 | |
*** yingjun has joined #openstack-searchlight | 01:54 | |
*** lakshmiS has quit IRC | 02:19 | |
*** bpokorny has joined #openstack-searchlight | 03:40 | |
*** ekarlso has quit IRC | 04:11 | |
*** bpokorny has quit IRC | 04:16 | |
*** ekarlso has joined #openstack-searchlight | 04:25 | |
*** bpokorny has joined #openstack-searchlight | 05:25 | |
*** bpokorny has quit IRC | 05:56 | |
openstackgerrit | Hiroyuki Eguchi proposed openstack/searchlight: Document that initial sync is mandatory https://review.openstack.org/308152 | 06:48 |
*** yingjun has quit IRC | 07:08 | |
*** yingjun has joined #openstack-searchlight | 07:12 | |
*** david-lyle has quit IRC | 08:59 | |
*** david-lyle has joined #openstack-searchlight | 09:00 | |
*** yingjun has quit IRC | 09:46 | |
*** yingjun has joined #openstack-searchlight | 12:49 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 14:15 | |
openstackgerrit | Travis Tripp proposed openstack/searchlight: Document that initial sync is mandatory https://review.openstack.org/308152 | 14:30 |
*** yingjun has quit IRC | 14:38 | |
*** yingjun has joined #openstack-searchlight | 14:38 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/searchlight: Updated from global requirements https://review.openstack.org/307778 | 14:42 |
*** yingjun has quit IRC | 14:43 | |
openstackgerrit | Matt Borland proposed openstack/searchlight-ui: Move search bar out of table https://review.openstack.org/306540 | 15:00 |
*** bpokorny has joined #openstack-searchlight | 15:00 | |
*** yingjun has joined #openstack-searchlight | 15:23 | |
*** nikhil_k has joined #openstack-searchlight | 15:38 | |
*** nikhil has quit IRC | 15:40 | |
*** yingjun has quit IRC | 15:40 | |
*** yingjun has joined #openstack-searchlight | 15:41 | |
*** yingjun has quit IRC | 15:46 | |
*** lakshmiS has joined #openstack-searchlight | 15:49 | |
*** lakshmiS has quit IRC | 16:15 | |
*** lakshmiS has joined #openstack-searchlight | 16:15 | |
*** bpokorny_ has joined #openstack-searchlight | 16:18 | |
*** bpokorny has quit IRC | 16:22 | |
openstackgerrit | Steve McLellan proposed openstack/searchlight: Make func test indexing more consistent https://review.openstack.org/305985 | 16:40 |
*** bpokorny_ has quit IRC | 17:06 | |
*** bpokorny has joined #openstack-searchlight | 17:07 | |
lakshmiS | hi TravT | 18:15 |
TravT | hey lakshmiS | 18:16 |
lakshmiS | for resource type info in reference id fields in facets; | 18:16 |
lakshmiS | are you expecting the resource name field for every id fields. lets say for nova servers, on image id field should it be like this | 18:17 |
lakshmiS | "OS::Nova::Server": [ | 18:17 |
lakshmiS | { | 18:17 |
lakshmiS | "type": "string", | 18:17 |
lakshmiS | "name": "image.id", | 18:17 |
lakshmiS | "options": [], | 18:17 |
lakshmiS | “resource_type” : “OS::Glance::Image” | 18:17 |
lakshmiS | } | 18:17 |
lakshmiS | } | 18:17 |
* TravT thinking. | 18:19 | |
TravT | if we do it in facets, then that would work well I think. | 18:20 |
lakshmiS | so in the UI, you will lookup image details based in the id and resource type if user needs to expand the id field? | 18:21 |
TravT | yeah, something like that... but in the UI this is also useful from a static context. | 18:22 |
TravT | let me explain a bit | 18:22 |
TravT | if I just do a freeform search across all resources | 18:22 |
TravT | I may get a dozen results from different resource types | 18:22 |
TravT | the data may include various IDs | 18:23 |
TravT | however, i don't request the facet list until we want to limit search to a specific type | 18:23 |
TravT | this goes along the lines of a conversation sjmc7 and i had the other day about returning the total | 18:23 |
* sjmc7 hides | 18:24 | |
TravT | if we only give the resource_type info when request the facet list for a type and the fields. | 18:24 |
TravT | we would have to request facets for all resource types to get this static info. | 18:24 |
TravT | but this does seem pretty natural place to put the info. | 18:25 |
lakshmiS | and for parent info, the same would be like | 18:27 |
lakshmiS | "OS::Swift::Container": [ | 18:27 |
lakshmiS | { | 18:27 |
lakshmiS | "type": "string", | 18:27 |
lakshmiS | "name": "id”, | 18:28 |
lakshmiS | “_parent”: “OS::Swift::Account” | 18:28 |
lakshmiS | } | 18:28 |
lakshmiS | ] | 18:28 |
sjmc7 | just a heads up i’m also modifying the facet code so one of us will have a time rebasing, but what i’m doing is probably less urgent | 18:28 |
TravT | lakshmiS: FYI: these logs: http://eavesdrop.openstack.org/irclogs/%23openstack-searchlight/%23openstack-searchlight.2016-04-19.log.html | 18:29 |
TravT | i will be right back. need to step away for about 2 mins | 18:29 |
TravT | lakshmi _parent: actually doesn't work right? | 18:35 |
TravT | it makes an assumption of _parent | 18:35 |
TravT | however, that is dynamic in plugin | 18:36 |
TravT | base.py get_parent_id_field | 18:36 |
lakshmiS | i was exploring elasticsearch to see if we can add metadata to mapping definitions | 18:37 |
TravT | and then just expose the mapping? | 18:37 |
TravT | i wondered about that as well | 18:37 |
lakshmiS | hmmm... | 18:37 |
sjmc7 | i don’t think so | 18:38 |
lakshmiS | you will not get options | 18:38 |
lakshmiS | or anything you need to refine | 18:38 |
lakshmiS | i was more interested in asissting the facet generation logic to get info from mapping | 18:39 |
TravT | ahh | 18:39 |
TravT | maybe putting this in facets is okay as a starting point.... | 18:40 |
lakshmiS | whats the alternative? plugin_info? | 18:41 |
TravT | yes, because its static. | 18:41 |
sjmc7 | it was maybe a mistake not to separate the static and dynamic stuff to begin with | 18:41 |
sjmc7 | facets is a mishmash of both | 18:41 |
*** sigmavirus24 is now known as sigmavirus24_awa | 18:45 | |
TravT | lakshmiS: | 18:50 |
TravT | for parent | 18:50 |
TravT | maybe in the parent field, you'd just have | 18:50 |
TravT | "parent": "OS::Swift::Account" | 18:51 |
TravT | or actually parent: true | 18:51 |
lakshmiS | without the type info? | 18:51 |
lakshmiS | oh | 18:51 |
TravT | because if you had “resource_type” : “OS::Swift::Account” | 18:51 |
TravT | and "parent": true | 18:51 |
TravT | you'd know that fields type and know that it is a parent to this resource type | 18:52 |
lakshmiS | right | 18:52 |
lakshmiS | so if we add parent field to facets, what happens to plugin_info result. | 18:54 |
TravT | just a sec, i'm playing with some queries... | 18:55 |
lakshmiS | i mean is that useful anywhere else? | 18:55 |
*** sigmavirus24_awa is now known as sigmavirus24 | 18:56 | |
lakshmiS | FYI: I will be adding meta info on mappings using _meta feature in ES : https://www.elastic.co/guide/en/elasticsearch/reference/1.4/mapping-meta.html | 18:57 |
TravT | oh, nice | 18:58 |
TravT | for simple parent child things, if i know that a type has children (even though I don't know what they are), i could issue a has_parent query and then just render all results blindly. | 19:04 |
TravT | that won't be as performant... | 19:04 |
TravT | if I know the children of a type, then i can issue a query for each type and just match on the parent field. | 19:05 |
TravT | let me go try a few things in the UI. | 19:08 |
lakshmiS | i will quickly grab lunch.. | 19:09 |
lakshmiS | back | 19:37 |
openstackgerrit | ZhiQiang Fan proposed openstack/searchlight: use thread safe fnmatch https://review.openstack.org/308557 | 20:06 |
TravT | lakshmiS: i'm still working in the UI on this. | 20:14 |
lakshmiS | TravT: if you think it will be easy to do hangout to go check this out, let me know(i may understand it with a better context) | 20:33 |
openstackgerrit | Steve McLellan proposed openstack/searchlight: Add totals to facets https://review.openstack.org/308582 | 20:42 |
openstackgerrit | Merged openstack/searchlight: Document that initial sync is mandatory https://review.openstack.org/308152 | 20:59 |
*** bpokorny_ has joined #openstack-searchlight | 21:02 | |
*** bpokorny has quit IRC | 21:07 | |
lakshmiS | FYI: code coverage for searchlight is at 43% | 21:33 |
openstackgerrit | Merged openstack/searchlight: use thread safe fnmatch https://review.openstack.org/308557 | 21:38 |
openstackgerrit | Merged openstack/searchlight: Making searchlight-manage python-3 compatible https://review.openstack.org/300911 | 21:45 |
*** lakshmiS has quit IRC | 21:53 | |
*** nikhil_k is now known as nikhil | 21:58 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 22:15 | |
*** krotscheck is now known as krotscheck_dcm | 22:57 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/searchlight: Updated from global requirements https://review.openstack.org/307778 | 23:18 |
*** bpokorny_ has quit IRC | 23:25 | |
*** bpokorny has joined #openstack-searchlight | 23:26 | |
*** lakshmiS has joined #openstack-searchlight | 23:41 | |
openstackgerrit | Travis Tripp proposed openstack/searchlight-ui: Two Column Default for Search result Drawer https://review.openstack.org/308696 | 23:43 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!