[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.4, Thu Jan 25 02:41:12 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="value" type="text" indexed="1">          <Field name="subkey" type="string">
39                <Notes>Some attribute keys are split into two parts. The real key is controlled and
40                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>
44            <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.4  
changed lines
  Added in v.1.5

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3