Prefixes on custom tags and searching for them
steve
Posted on
Jun 20 2014
We need to create custom tags that have some sort of prefix on them. I would like to put a non-alpha numeric character between the prefix and the rest of the tag to make it easier to read and search, i.e. name#charliebrown I have found that the hash (#) does not seem to work for when I do a search such as customtags: name#charliebrown it returns results for all entries that have charliebrown in it, which is way more than I am looking for. The value "charliebrown" could be in a lot more fields or custom data than I want to find when I search for tags containing that string.
I replaced the hash with an underscore and it seem to work as I expect, it only returns results with the whole tag value including prefix. My question is are there other non-alpha numeric characters I can use besides the underscore to use as the prefix delimiter? Underscore is not ideal in that a lot of our tag data contains underscores so using one at the end of the prefix makes it harder to discern prefix from actual tag data.
Thanks,
Steve
Callum
Posted on
Jul 04 2014
Apologies for the delay on this one - at this stage underscore seems to be the preferred way to handle this, however as in your case this is not ideal we will look into improving this by providing a documented set of chars that can be used like this instead of underscores. This will be part of a range of improvements to the search behavior that we have been looking into, and we will get back to you with the results.
Regards,
Callum Gavin
Mindscape Limited
steve
Posted on
Jul 11 2014
Thanks Callum,
Looking forward to any progress that can be made in this area. Just wanted to reiterate that (for me at least) it's really about being able to search for partial strings in a tag...It doesn't necessarily matter to us what the actual delimiter character is: hash, underscore, etc...
-Steve
steve
Posted on
Jul 17 2014
Is there a bug report I can link to for tracking this issue or will this thread suffice?
thanks,
steve
Callum
Posted on
Jul 17 2014
This thread will suffice - an investigation into the feasibility of this request for the search functionality is currently ongoing, but at this stage I can't promise anything search-wise.
We are however working on a first-class way to filter by tags in the UI - this may be more appropriate to your use-case and there may be an announcement about this in the near term, but can't give a concrete timeframe as it is a work in progress. We will keep you updated.
Regards,
Callum Gavin
Mindscape Limited
eamodio
Posted on
Feb 16 2015
Callum,
Has there been any progress on this front?
Thanks, Eric
Callum
Posted on
Feb 17 2015
We do now have a dedicated filter UI on the application dashboard (which wasn't present when this question was posted) which has AutoComplete functionality, which should help pick from the list of valid keys. For the namespacing the vertical bar char '|' should be appropriate and two colons should work too.