For Mark S.
✓ Published0🌍 Public
CCliffordAnderson
Last edited Oct 15, 2019
Created on Oct 15, 2019
This example reveals the legal concepts of "jury" and "law" as they co-occur in the BPP Quarterly collection, ranking each document by the number of stemming-aware full-text hits. It first queries the collection using MarkLogic’s `fn:collection` and the `contains text` operator with `ftand` and stemming, then extracts hit highlights via `ft:extract` and counts the resulting `mark` elements. The output is an ordered list of hits with URLs and titles, relying on MarkLogic’s full-text search API rather than any client-side visualization library.
AI-generated description