Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [query-rule]

The tag has no usage guidance.

0
votes
0answers
20 views

Search query rules and anonymous access

i am having a problem with Sharepoint 2016 search query rules and anonymous users. The problem is the following: Add a query rule Test it while logged in to sharepoint, it works totally fine Test ...
1
vote
0answers
21 views

Query rule usage report for promoted results not showing counts in SharePoint online

We have configured various query rules for the promoted results in search center few months back in SharePoint online. When I try to get the Query Rule Usage by Month report, its not showing any ...
1
vote
0answers
24 views

Hide SharepointSearchBackEnd from result block

I have created a promoted results result block to display a few users in the search results web part. However this result block displays as "SharePointSearchBackEnd:People Results for {searchTerm}". ...
1
vote
0answers
21 views

Sharepoint enterprise search grey line

When I search in the Sharepoint Enterpise Search. Sometimes the gray line is displayed. What are the default settings for displaying the gray line in SharePoint Enterprise Search?
0
votes
1answer
229 views

Hide DispForm.aspx from search results in SharePoint online

One of my clients have come up with a requirement to hide DispForm.aspx from the search results. I have researched on this a lot and come across an approach where we need to create a Query Rule and ...
1
vote
0answers
77 views

Migrate Query Rules from SharePoint 2013 to SharePoint Online

I have a SharePoint 2013 Search farm in which I have a bunch of query rules. I plan to copy all these query rules to SharePoint Online. Is there a PowerShell script that can help me export the rules ...
1
vote
2answers
242 views

Hiding “People Results” in Search Web Part

I'm wanting to hide the "People Results" from my search results using the Search web part. How do I go about doing this? All help is appreciated!
2
votes
1answer
161 views

Search for synonyms without a thesaurus file

We have a SP 2013 on prem site. I am a site collection admin and have no access to central admin. We have a site with a lot of human resource related content for non-HR managers. One thing they search ...
2
votes
0answers
40 views

SharePoint Online Federated Results in Query Rule Results Block

We have an on-premise SharePoint 2013 Enterprise Search platform. We have a SharePoint Online tenant which federates results to my search site. I would like to display a results block from the ...
1
vote
1answer
168 views

SharePoint Online Search - Result Query based on regex IP address

I am building a technical documentation wiki using SharePoint Online. I am trying to create a result query that recognizes the user has entered an IP address and promotes the 'server' pages as results ...
1
vote
1answer
170 views

Custom QueryRule removal via PowerShell caused an exception “Invalid URI”

I've recently created a bunch of custom query rules (in fact, promoted results) for my site collection, with custom keywords, titles, names, descriptions and URLs. The format is: CreateQueryRules -...
0
votes
1answer
34 views

Query Rule Question - How to drop unmatched SearchTerms not present in Result Source

Is it possible to drop any unmatched search terms from your query AFTER the query has been issued? For example, user issues following query: "massive email mishap." I need "massive" and "mishap" to ...
3
votes
1answer
189 views

Query Rules - Match Keyword in the middle of the query

I want to create a query rule and define a keyword.When a user uses that keyword in their query, no matter where it is, I want the query to find that keyword. I know how to create a query rule that ...
1
vote
1answer
836 views

Limit search to site contents in root site

My organization built an intranet in the root site of the root site collection. Currently, using the search function in the site pulls all results from our entire SharePoint environment. We'd like to ...
1
vote
0answers
121 views

Create Search Query rules in SP Online using CSOM

Am trying to create Query rules in search feature through Office 365 developer. am trying to do this through client object model. But i didn’t get information on the classes to be used for this. Any ...
2
votes
1answer
233 views

Search Query Rules

Is there any powershell script to set a search query rule inactive? I have to inactivate the query rule "People Name in sharepoint search" using powershell script.
0
votes
2answers
165 views

Query Rule - Defining a Keyword/Action Term

Unfortunately I am not understanding how to use query rules effectively. Background: I have created a wiki page library and am using a combination of search box webpart and search results webpart ...
3
votes
1answer
326 views

Modify template used by best bets

I have set up a query rule to include a promoted result which is working fine and I see my promoted result at the top of search results for specific search terms. This is all great. But I don't want ...
1
vote
0answers
53 views

Query Rule not Firing on Site

I have created a query rule to sort my search results with those created latest appearing first. The test results show this is running and ordering as expected. The problem is that when I do the ...
2
votes
1answer
2k views

Exclude allitems.aspx from search results

I have a site which contain a few lists. When I search something in my site then it returns following result: http://server/Lists/Mylist/Allitems.aspx http://server/Lists/MyList/DispForm.aspx?ID=34 ...
2
votes
1answer
191 views

Newly created “query rule” only takes effect in a few search result

SP2013, onprem, farm solution: I have created a new Query rule, with help from this guide. It seems to work like a charm on my dev machine, but on production it only takes effect in a few search ...
0
votes
1answer
84 views

SP Search - Error when copying a a Query Rule

I ultimatly want to change the display template for the people result (showed horizontally right under the search textbox) in the "Everything"-search. To do so Ive been instructed to go to the search ...
1
vote
1answer
62 views

How to make the People search query matching less restrictive and 'smarter'?

Our client has a People directory set up on SP2013 on premises. We are getting complaints that employees who try to find colleagues by searching on their name (usually the first name) don’t get any ...
0
votes
1answer
145 views

Query Rules in sharepoint 2013 for searching mobile phones

Im set search to show numbers of mobile phones my users, but I cant found users if try to search with their number. In profile: "+0 (111) 222-33-44" In search Im try: "+01112223344", "1112223344" and ...
0
votes
1answer
52 views

SharePoint searching contents that match any of my keywords

I am trying to configure my search center. The target is creating a search rule which will return documents that match any of keywords users type in. (Same functionality in advanced search, but I want ...
2
votes
1answer
764 views

How to create query rule to boost people search results where lastname contains query?

I want to define a query rule (?) to boost people results that contain the last name in the query (using SharePoint 2013), basically I want to rank the results where the query is contained in the ...