Planning the Visibility Boundary of a Public Search Index

An index can expose snippets, titles, and existence information. Build it from records eligible for the search audience.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace a draft
  2. Verify changes in state
  3. Test public eligibility before building result material
  4. Verify isolation from the reader perspective

Trace a draft

A private draft may resemble a published article but its title and new text should follow the publication policy. Public and private records identify the boundary.

Verify changes in state

If a record becomes private, confirm that permitted public discovery paths reflect the transition under the documented timing. See cache invalidation.[1]

Test public eligibility before building result material

A draft can have an attractive title matching a query. Public indexing should follow publication policy before storing or exposing titles, snippets and metadata. Filtering only at the click destination can still expose the draft's existence in a result list. See preview and publication.

Public record → eligible for public index
Draft record → excluded under stated policy
An unpublish event removes or deactivates public discovery

Verify isolation from the reader perspective

Use an anonymous client and a permitted editorial client separately. Check titles, snippets, autocomplete and counts as relevant. Test after changing a document from public to private.

References

  1. Christopher D. Manning, Prabhakar Raghavan and Hinrich Schütze, Introduction to Information Retrieval ↩