Is there a possibility to prevent duplicate entries in search results when using the editor plugin?
I think it’s the editor plugin which is causing the duplicate entries because of its block structure – like if a keyword is found in multiple <p> blocks for example (?).
Some results have a template a parent page and some don’t. The duplicate entries have a parent page “projekte” and a template “projekt”. If I change the language (multi-setup) than the duplicates don’t occur, since the keyword doesn’t occur multiple times in the other language’s text.
The search results contain duplicates – like if a search query keyword submitted by a search input field is found multiple times in Page A, that Page A occurs multiple times in a search result list. The ul list containing the title and link to Page A is generated with the code above.
what is the actual result rendered in source from your original code?