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

sf-1 (616)
Cory Johns

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.


Tickets: #2053


  • Dave Brondsema

    Dave Brondsema - 2013-04-18
    • Milestone: forge-backlog --> forge-may-03
  • Dave Brondsema

    Dave Brondsema - 2013-04-19
    • Size: --> 1
  • Dave Brondsema

    Dave Brondsema - 2013-04-22

    Another example, "1" matches on "p1".

  • Tim Van Steenburgh

    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
  • Dave Brondsema

    Dave Brondsema - 2013-05-03
    • Milestone: forge-may-03 --> forge-may-17
  • Tim Van Steenburgh

    • status: in-progress --> code-review
  • Tim Van Steenburgh


    [#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.

  • Cory Johns

    Cory Johns - 2013-05-10
    • status: code-review --> closed
    • QA: Cory Johns
  • 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
  • Cory Johns

    Cory Johns - 2014-03-05
    • status: validation --> closed

Log in to post a comment.