By the way, I want to exclude some space from solr indexing.
Then I must add somethning like “fq!=space_exact:Sandbox” in xwiki setting-search-suggest search - solr Document name (/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=searchSuggest)?
There’s no easy way to exclude spaces from indexing. It’s easy to exclude from search, but to exclude from indexing you would have to overwrite some XWiki components (Java code).
Cool then… Could you tell me how to do that?
My use case: I want exclude documents of Sandbox space (and maybe other spaces) from quicksearch result.
I try to use “space_exact” keyword in XWiki/XWikiPreferences/suggest search/document name but I didn’t manage (syntax issue or missing feature?)
@Pbas,
If you’re trying to replicate the pf parameter config as active in the main search but in the suggest settings, I don’t think it will work.
You might be able to get close by doing what you suggested above, however, note that pf weights should always be higher than qf weights. Also, you might have to enclose multiple terms in quotes or have a separate pf line for each.