Everything Verticals does not show the people result.
Reason System have different result source for different verticals or Navigation.We can define or add multiple result source data under one verticals.
- Everything (Vertical) have default Result Source: i.e. Local SharePoint Results
- People (Vertical) have default Result source: i.e. Local People Results
Using Query Rule we can add People result into Everything
Steps are as follows:-
Step1:-
Under the Settings section, as shown above, select the "More" link option and enter "peopleresults.aspx?k={subjectTerms}". Select People Item from the Item Display Template. Click OK.
Happy Coding !!
Reason System have different result source for different verticals or Navigation.We can define or add multiple result source data under one verticals.
- Everything (Vertical) have default Result Source: i.e. Local SharePoint Results
- People (Vertical) have default Result source: i.e. Local People Results
Using Query Rule we can add People result into Everything
Steps are as follows:-
Step1:-
Search Center -> Site
settings -> Site Collection Administration -> Search Query Rules:
Step2:
Select
Local SharePoint Results (System) in the Context drop-down:
Step3:-
Once that is selected,
click on New Query Rule:
Step4:-
On the Add Query Rule
page, add a rule name, remove the condition, and then click on the Add Result
Block link:
On the Add Result
Block page change the Title to state "People Results". In the Select
this Source, select Local People Results (System) and select the amount of
items. The default is 2 and that's probably not enough (just like beer or
martinis). 3 or 5 seem like good numbers.
Under the Settings section, as shown above, select the "More" link option and enter "peopleresults.aspx?k={subjectTerms}". Select People Item from the Item Display Template. Click OK.
Back
on the Add Query Rule page, click Save.
Run your search again (it may take a moment for the changes to appear):
Run your search again (it may take a moment for the changes to appear):
Happy Coding !!
No comments:
Post a Comment