Attribute Tagging for Quick Search

When an artifact is saved, each attribute contained in the artifact is analyzed to produce a list of tags that are then associated with the artifact. Quick search is a form of keyword based searching which uses tags to perform contextual artifact searches.

For an attribute to be tagged by the system, it must meet the following criteria:

  1. The attribute's type must specify an Attribute Tagger to be used by the tagging system.
  2. The attribute must contain valid data.
  3. The attribute revision must be saved in the database before sending to tagging system.

To produce tags, modified attributes are sent to the OSEE application server where the tagging system processes each attribute using an Attribute Tagger specified by the attribute's type. The Attribute Tagger knows how to interpret the attribute's data and how to extract words from the content. At this point, a word is defined as a sequential set of alphanumeric characters delimited by one or more spaces. As words are parsed, they are sent to the tagging system's word encoder where the following processing takes place:

  1. The characters in the original word are converted to lower case.
  2. The lower cased version of the word is encoded and stored in the tagging system.
  3. The lower cased version of the word is split using punctuation characters such as (' ', !, ", #, $, %, (, ), *, +, ,, -, ., /, :, ;, <, >, ?, @, [, \, ], ^, {, |, }, ~, _) as delimiters.
  4. Possessive words (ending in 's) are converted into regular form.
  5. Each word is converted from plural to singular form.
  6. Each word is encoded and stored in the tag system.

When encoding words into tags, the tag encoder uses an algorithm which transforms the word's characters into a bit-packed tag that will fit in a 64-bit integer. The tag will represent up to 12 characters (all that can fit into 64-bits). Longer words will be turned into consecutive tags.

Tag Encoding Examples

Original Keywords Encoding
appendeces appendix -220858502
battery(ies) battery 529513131

Related reference
      Quick Search View