It's difficult to do a ticket search with a complex label like labels:support-features if it also matches all the tickets with a support label. We should adjust the solr schema to do exact matches on labels. No stemming or single-word matches.
[#3854] should be reviewed before this. Make sure your Allura instance is still pointing to the new solr cluster. Sorl schema updated for this ticket will have already been deployed to solr via https://trac.sdot.me/trac/siteops/ticket/53625
Create a ticket with label support and a ticket with label support-features.
Do a ticket search with labels:support (old way, shows both), then one with labels_ws:support (should only show the exact match). Once our solr reindex is done we'll go a global s/labels_t/labels_ws/g, after which a labels search will work like the labels_ws search.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Another example, "1" matches on "p1".
forge:tv/4321
[#3854] should be reviewed before this. Make sure your Allura instance is still pointing to the new solr cluster. Sorl schema updated for this ticket will have already been deployed to solr via https://trac.sdot.me/trac/siteops/ticket/53625
Create a ticket with label
support
and a ticket with labelsupport-features
.Do a ticket search with
labels:support
(old way, shows both), then one withlabels_ws:support
(should only show the exact match). Once our solr reindex is done we'll go a globals/labels_t/labels_ws/g
, after which alabels
search will work like thelabels_ws
search.