someone says "index all the docs," and what they hand you is the wiki. i took that request literally, exported the space, and loaded every page into the index. the first question someone asked because they needed the procedure came back with a template. the procedure was in the index beside it, along with every page that shared its nouns. the template ranked higher. it was shorter, and its headings were the words in the question. a page of headings, with no decision recorded on it, matches keyword search and vector search on the headings alone, and it is an easy page to cite by mistake.
a wiki is where a company writes. an index for this kind of search is the set of passages you are willing to have quoted back. the export stores both as if they were one thing. public web search keeps them apart: a page that only exists to say the real page moved will match queries and supply no answer, so it stays out. an internal wiki often skips that cut. the pages feel pre-approved, since a colleague can open them and the permission looks like a decision already made. permission covers who may open the page. putting the page in the index decides whether it may be spoken back as the answer. the whole company can open the page that lists lunch spots. i would still keep that page out of an answer about billing.
dull pages take the top ranks, which is why a meeting can agree to include them with nobody putting up a fight. a home page lists refunds, outages, logins, and billing so a person has somewhere to click. the retriever scores words and has no link to follow. those words mention the topics of the whole space, so the home page returns for questions it only introduces.
an incident template carries the phrase "customer impact" and the usual headings, and it carries no timeline. the real write-up has the exception and the point where the team changed its mind. a general question fits the empty template more neatly, so the template wins the match. meeting notes stay in the tree and use the policy's vocabulary to describe what someone hoped the policy would become, which puts them above a shorter page that states the rule. drafts arrive because status is optional. on the wikis i keep receiving, the default visibility is the whole space, so an unfinished page and a finished page arrive looking alike. after a reorg, several teams each keep a sincere copy of one procedure, and some of those copies describe a system already turned off. each copy can come back for a question about the procedure.
the extra pages spend the short list. the first stage returns a limited number of hits, and with the home page and the template already among them, the page that has the steps is competing for a remaining hit. a reranker reorders the list it received, and a page left off that list stays off it. i watched a reranker settle on the template and give it a higher score than the first stage had. the template matched a generic reading of the question. the page with an owner and an exception was never scored.
i agreed to the full export in a meeting where the other option was a long argument about which space was the real one. the page count was the only figure anyone could check without reading a page, and a larger count looked finished. the person who said "all the docs" wanted the choosing taken off their desk. handing that choosing to the person who builds the index is a fair request. what they handed over was the space itself, and the list of pages allowed to answer was still blank.
a handbook you would hand to a new hire
some wikis should be indexed in full. i have shipped that and kept it running. you can read the whole thing in an afternoon, and a replaced page is gone, which is how you can see the maintenance. a product handbook that one writer keeps current is the case i accept first. on-call runbooks belong with it when the on-call page points at them and a new runbook removes the old one.
on a wiki like that, dropping a page is how you lose the answer. the page can look small, the heading can sound purely operational, and eight lines can be the only place a threshold is written, along with the name of the system that enforces it. if you would hand these pages to a new hire without editing them, another pass that drops the short pages will drop that threshold because the page looked minor. look at the edges of the tree, then put every page inside those edges into the index.
a second parent full of drafts gets included whenever the export starts above it. an archive folder often comes along too. in the exports i see, archive usually means the links were removed and the pages stayed put. templates belong in their own parent, away from the procedures people produce with them. when none of that is mixed in, every remaining page is there to be indexed. i can stand behind a complete handbook. a hole i opened so the project would look selective might have removed the only copy of a rule.
reading the space before the export
a company wiki is rarely that handbook, including in the months when people call it one. a decision can still live on an odd page. the meeting note may be the only record that the rule changed. the procedure may sit on a page with no inbound links, because the author left and a navigation rewrite dropped the url. cut every page that looks messy and those go out with the leftovers. you get an orderly index that misses the decision. loading the whole space still leaves that note beside the home page and the template, and the citation comes back as the template.
a bigger export counts pages and treats the count as coverage. leave the cleanup for a later week and the first searches return the template, which then gets quoted in the complaint. a model treats a page as a template when the page says so, or when a person looked and recorded that. the wiki is where text is allowed to pile up. the index is the set you might read aloud. a page held out of the index can stay in the wiki, linked from a page you trust, for anyone following links. i would not read a page of links back to someone as the answer.
go through the space with the questions people already ask, assuming you have to answer them from these pages for a week, and leave out any page you would not quote. people write "template," "copy of," "draft," and "old" into the title, and they are usually right about their own page. a page that is almost entirely links is for clicking. read the pages it points to, and keep the link page out of the index. when two pages both claim to be the procedure, ask which copy the team would send to a colleague. the person who said "all the docs" can often say, or can name the owner who can. if nobody will choose, settle it with the owner before you embed either page.
pages with no inbound links have to be opened one by one. a single rule treats a leftover note and a full procedure as the same object and removes the procedure with the note. reading them is slower than a filter, and it is how you avoid explaining later why search misses a question the wiki still contains.
if people maintain a status field, use it. published pages can come in. drafts and superseded pages stay in the wiki. a field that is blank on most of the space leaves a draft and a current page looking the same, and a filter on that field removes current pages nobody tagged. a taxonomy written in the ingest meeting grows a value for each team, and then nobody applies the values. choose the pages you would cite, and on those pages keep the owner and the status you saw while reading. more fields can wait until that choice is real.
when a bad page shows up in the results, name the decision that let it in. when a good page is missing, name the decision that kept it out, and change that decision. running the export again will only reload the same pages under the same rule. the page is already stored. the next export needs a rule it has to follow.