Page MenuHomePhabricator

Remove some redundant information from the Ferret engine index
ClosedPublic

Authored by epriestley on Sep 8 2017, 3:16 PM.
Tags
None
Referenced Files
F14050346: D18580.diff
Thu, Nov 14, 6:01 PM
F14040962: D18580.diff
Mon, Nov 11, 2:39 PM
F14024591: D18580.diff
Thu, Nov 7, 10:59 AM
F14014192: D18580.diff
Sun, Nov 3, 12:55 AM
Unknown Object (File)
Oct 7 2024, 8:26 PM
Unknown Object (File)
Oct 5 2024, 12:32 PM
Unknown Object (File)
Oct 5 2024, 12:06 PM
Unknown Object (File)
Oct 4 2024, 8:20 PM
Subscribers
None

Details

Summary

Ref T12819. The "full" field has all other fields, and the "core" field has "title" and "body". Due to the way the "full" and "core" fields were being built, the "core" field also got included in the "full" field, so the "full" field has two copies of the title, two copies of the body, and then one copy of everything else.

Put only one copy of each distinct thing in each "full" and "core". Also, simplify the logic a little bit so we build these virtual fields in a more consistent way.

Test Plan

Ran bin/search index and looked at the fields in the database, saw less redundant information.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable