Skip to main content
Think of the system as a library. The documents are the books, the chunks are numbered passages cut from them, and the concept index is a smart subject catalogue. The administrator’s settings are the librarian’s rules. The invariants are promises the catalogue must always keep. The catalogue is built from the passages alone. The librarian’s rules are applied at the moment someone asks a question, and are not baked into the catalogue.

About the catalogue

  1. Every topic points to real text. A concept exists only if at least one actual passage supports it. Nothing is made up.
  2. Departments stay separate. A topic in the HR scope never points to a passage in the Credit scope.
  3. Quotes are exact. Whatever the index says a passage contains, you can open the source and find those exact words there.
  4. Rebuilding gives the same result. Build the index twice from the same sources and you get the same index.
  5. Removed sources leave no trace. When a document is withdrawn or replaced, every concept and link that depended only on it disappears too. No dead links.
  6. Only published material counts. Drafts never enter the index.
  7. “This document amends that one” comes only from people. A machine never guesses that link.

About the rules

  1. Changing the rules does not mean re-cataloguing. You can edit the rules at any time and the index keeps working.
  2. The librarian’s vocabulary wins. If the glossary says the official name is X, the index uses X, and the listed nicknames lead to it.
  3. The machine does not put words in your mouth. Synonyms the machine learned are never quietly added to your search. Adding too much extra wording to searches hurt accuracy badly in a past test.
  4. Restrictions stay restrictions. If the rules say “only search policy documents for this kind of question”, the index cannot add results from elsewhere.

About searching

  1. Turning it off changes nothing. With the feature switched off, search behaves exactly as it does without it.
  2. It can only add, never take away. The index can suggest extra passages but never hides ones the old search would have found.
  3. It does not wander. It follows at most a couple of “see also” links and never goes in circles.
  4. Every result can say why it is there. Each answer comes from a direct match or from a trail you can show, such as “you asked about X, X is defined in Article 5, here is Article 5”.

What the core enforces

Invariants 8, 11, 12 and 13 depend on how the calling system uses ladyGraph:
  • configuration is applied at query time,
  • filters act as hard bounds,
  • nothing changes when the feature is disabled,
  • results are only added.
Each system’s adapter tests these, not the core.