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
Unknown Object (File)
Fri, Dec 20, 9:01 PM
Unknown Object (File)
Thu, Dec 19, 11:19 PM
Unknown Object (File)
Sun, Dec 8, 3:01 PM
Unknown Object (File)
Fri, Dec 6, 10:50 AM
Unknown Object (File)
Thu, Nov 28, 4:21 PM
Unknown Object (File)
Wed, Nov 27, 7:02 AM
Unknown Object (File)
Tue, Nov 26, 1:45 PM
Unknown Object (File)
Nov 23 2024, 4:25 AM
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