librpc: Shorten dcerpc_binding_handle_call a bit
[Samba/gebeck_regimport.git] / lib / ldb / docs / design.txt
blob0bb278b5b428a465db11c1e5107ca67cecf23e3a
1 The list of indexed fields
2 --------------------------
4 dn=@INDEXLIST
5         list of field names that are indexed
7         contains fields of type @IDXATTR which contain attriute names
8         of indexed fields
11 Data records
12 ------------
14 for each user record in the db there is:
15     main record
16          key: DN=dn
17          data: packed attribute/value list
19     a index record for each indexed field in the record
22 Index Records
23 -------------
25 The index records contain the list of dn's that contain records
26 matching the index key
28 All index records are of the form:
29       dn=@INDEX:field:value
31 and contain fields of type @IDX which are the dns of the records
32 that have that value for some attribute
35 Search Expressions
36 ------------------
38 Very similar to LDAP search expressions, but does not allow ~=, <= or >=
40         attrib0 := (field=value)
41         attrib := attrib0 | (attrib&&attrib) | (attrib||attrib) | !attrib