Not obvious how to search nodes along a specific axis, or multiple axes

Bug #1185455 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Wishlist
Blake Rouse

Bug Description

When users don't specify an axis with their search term, MAAS ought to search every axis (i.e. tags, node name, and so on). This is handy, but wasteful and imprecise. For example, how would you be sure that "foo bar" matches exactly those nodes with tags "foo" and "bar"?

Now, it's already possible in the UI it's to search for tags, for example, using "maas-tags:foo maas-tags:bar", but this is not documented, and is overly verbose and tautological. It would be more convenient to say "tag:foo tag:bar". It would be useful to have a prefix for each axis along which we can match nodes.

Gmail search is a great example of how to do this kind of thing. It generally DTRT with free-form search terms, but if you need more precision you can use extra syntax to narrow the scope:

  from:@example.com subject:"My Aunt Tilly" is:unread

The greatness comes from the auto-completion as you're typing, so you only need to half remember what you're doing, and very rarely have to look up the syntax.

However, auto-complete is probably going to be out of scope for a long time, but the point is also that people are quite used to using foo: like prefixes to select an axis to search along. We need to display a key next to the search box for all the axes we support.

Tags: ui tags
Changed in maas:
status: New → Triaged
importance: Undecided → Wishlist
Raphaël Badin (rvb)
tags: added: tags
Revision history for this message
Blake Rouse (blake-rouse) wrote :

This has been fixed with the search in the new nodes listing.

Changed in maas:
status: Triaged → Fix Committed
assignee: nobody → Blake Rouse (blake-rouse)
milestone: none → 1.8.0
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.