#4321 Labels field should be an exact match in solr - NEEDS SOLR REINDEX

forge-may-17
closed
None
General
1
2014-03-05
2012-06-01
Dave Brondsema
No

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.

Related

Tickets: #2053
Tickets: #6237

Discussion

  • 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 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.

     

    Related

    Tickets: #3854


    Last edit: Tim Van Steenburgh 2013-05-07
  • Cory Johns
    Cory Johns
    2013-05-13

    • summary: Labels field should be an exact match in solr --> Labels field should be an exact match in solr - NEEDS SOLR REINDEX
    • status: closed --> validation
     


Anonymous


Cancel   Add attachments