Search Suggest Configuration

Hi,

I searched the forum and didn’t find an answer to the question.

@mflorea How to exclude “File Manager” suggestions from search results in the search suggest window?

I tried to change query of page titles in search suggest in the admin panel with code like below, but the result is that the suggestions from “Page Titles” don’t appear at all.

__INPUT__ __INPUT__*
fq=type:DOCUMENT
fq=-class:FileManager.FileManagerClass
qf=title^2 name

I assume you want to exclude file and folder suggestions, in which case you need to use something like:

__INPUT__ __INPUT__*
fq=type:DOCUMENT
fq=-class:FileManagerCode.FileClass
fq=-class:FileManagerCode.FolderClass
qf=title^2 name

Hope this helps,
Marius