#17661Indexed search makes links incorrectly
Description
Function linkData in indexed_search/pi attempts to detect domains and choose if it should use typolink or not to generate records to search result. This is completely wrong approach. typolink must be used always because it detects domains itself. Indexed search must temporarily set config.typolinkCheckRootline=1 before calling typolink if it thinks record is external to domain.
Current behavior will fail if the same page shares several different domain names and crawler was run for a domain, different from a quered domain.
(issue imported from #M6477)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.