Page MenuHomePhabricator

Remove "url" from Elasticsearch index
ClosedPublic

Authored by epriestley on Apr 2 2017, 5:05 PM.
Tags
None
Referenced Files
F18855283: D17600.id42333.diff
Nov 1 2025, 4:45 AM
F18836762: D17600.diff
Oct 27 2025, 3:32 AM
F18757475: D17600.diff
Oct 5 2025, 5:36 PM
F18702754: D17600.id.diff
Sep 28 2025, 1:21 AM
F18650178: D17600.id42333.diff
Sep 20 2025, 11:43 PM
F18627172: D17600.diff
Sep 16 2025, 3:23 AM
F18508684: D17600.id.diff
Sep 5 2025, 2:58 AM
F18500792: D17600.diff
Sep 4 2025, 9:20 PM
Subscribers
None

Details

Summary

Ref T12450. This was added a very very long time ago (D2298).

I don't want to put this in the upstream index anymore because I don't want to encourage third parties to develop software which reads the index directly. Reading the index directly is a big skeleton key which bypasses policy checks.

This was added before much of the policy model existed, when that wasn't as much of a concern. On a tecnhnical note, this also doesn't update when phabricator.base-uri changes.

This can be written as a search index extension if an install relies on it for some bizarre reason, although none should and I'm unaware of any actual use cases in the wild for it, even at Facebook.

Test Plan

Indexed some random stuff into ElasticSearch.

Diff Detail

Repository
rP Phabricator
Branch
search6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16258
Build 21605: Run Core Tests
Build 21604: arc lint + arc unit