[Bio] / Sprout / AttributesDBD.xml Repository:
ViewVC logotype

Diff of /Sprout/AttributesDBD.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Tue Jan 9 01:49:08 2007 UTC revision 1.5, Sun Feb 18 21:25:03 2007 UTC
# Line 35  Line 35 
35        <Notes>This relationship connects an attribute key to its objects. It contains the        <Notes>This relationship connects an attribute key to its objects. It contains the
36        attribute values, and is therefore the primary data repository for the database.</Notes>        attribute values, and is therefore the primary data repository for the database.</Notes>
37        <Fields>        <Fields>
38          <Field name="keywords" type="text" searchable="1">          <Field name="subkey" type="string">
39            <Notes>This field contains a cleaned copy of the key name and value text for use              <Notes>Some attribute keys are split into two parts. The real key is controlled and
40            in full-text searching.</Notes>              must correspond to a key in the AttributeKey table. The second part of the key
41                resides in this field. When the attribute value is presented to the user, the two
42                parts of the key are joined together around the splitter value.</Notes>
43          </Field>          </Field>
44          <Field name="value" type="text">          <Field name="value" type="text">
45            <Notes>This is the actual attribute value. Note that a single key/object pair may in fact            <Notes>This is the actual attribute value. Note that a single key/object pair may in fact
46            have many values, and therefore many entries in this table.</Notes>            have many values, and therefore many entries in this table.</Notes>
47          </Field>          </Field>
48        </Fields>        </Fields>
49          <FromIndex>
50            <Notes>This index sorts all the values for a single attribute key by the subkey value.</Notes>
51            <IndexFields>
52                <IndexField name="subkey" order="ascending" />
53            </IndexFields>
54          </FromIndex>
55          <Indexes>
56            <Index>
57                <Notes>This index allows searching for an attribute value by its prefix.</Notes>
58                <IndexFields>
59                    <IndexField name="value" order="ascending" />
60                </IndexFields>
61            </Index>
62          </Indexes>
63      </Relationship>      </Relationship>
64    </Relationships>    </Relationships>
65  </Database>  </Database>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3