Questions tagged [query-rule]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

Number of results decreased after applying a query rule to promote a specific content type in SharePoint

As mentioned in the below link on how to promote a content type in SharePoint results: How to change the order in which search results are displayed in SharePoint Server 2013, I did the same but the ...
user avatar
  • 1
1 vote
0 answers
111 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 ...
user avatar
1 vote
0 answers
35 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}". ...
user avatar
  • 881
1 vote
0 answers
36 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?
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 1,807
1 vote
0 answers
171 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 ...
user avatar
  • 881
1 vote
2 answers
721 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!
user avatar
  • 273
2 votes
1 answer
451 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 ...
user avatar
  • 2,929
2 votes
0 answers
42 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 ...
user avatar
  • 881
1 vote
1 answer
507 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 ...
user avatar
1 vote
1 answer
462 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 -...
user avatar
  • 528
0 votes
1 answer
60 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 ...
user avatar
  • 75
3 votes
1 answer
381 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 ...
user avatar
  • 75
1 vote
1 answer
1k 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 ...
user avatar
  • 131
1 vote
0 answers
159 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 ...
user avatar
2 votes
1 answer
540 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.
user avatar
  • 318
0 votes
2 answers
289 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 ...
user avatar
  • 75
3 votes
1 answer
466 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 ...
user avatar
  • 2,929
1 vote
0 answers
99 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 ...
user avatar
3 votes
1 answer
4k 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 ...
user avatar
  • 3,614
2 votes
1 answer
265 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 ...
user avatar
  • 1,017
0 votes
1 answer
99 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 ...
user avatar
  • 1,017
1 vote
1 answer
69 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 ...
user avatar
0 votes
1 answer
190 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 ...
user avatar
0 votes
1 answer
57 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
  • 4,743