Skip to content

Use a safer character for storing laws' structures in Solr #440

Closed

Description

@waldoj

At present, when Solr indexes laws, it stores their structural ancestries as a single string, with / separating each structure's name. For example: Agriculture, Animal Care, and Food/Milk, Milk Products, and Dairies. This will yield inaccurate breadcrumb trails when displaying search results for laws that are descendants of structural units that contain slashes in their title. I believe that's the only problem, at present, with using slashes.

In Virginia, two chapters are affected, "Fire/EMS Departments and Fire/EMS Companies" and "State/Local Hospitalization Program." Of course, there are liable to be a great many structural units and laws affected in other legal codes.

Because of the difficulty of fixing this (or, rather, my lack of knowledge about what intra-Solr ramifications that there might be to modifying this), along with its de minimis impact, I'm assigning this to the "Future" milestone.

Activity

  1. added a commit that references this issue on Apr 13, 2015
    c4b0b9e
  2. krusynth commented on Apr 13, 2015

    @krusynth
    Member

    Per #441, just querying the database for structure info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions