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 [search-query]

A search query is a query that a user enters into a search engine to satisfy his or her information needs.

0
votes
0answers
19 views

SharePoint Display Templates - Column not translating

I will try and be as brief and simple as I can be in my explanation. We have a SharePoint site with project items listed, the title is using managed metadata, the column is 1 column which within the ...
0
votes
0answers
12 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 ...
3
votes
1answer
89 views

Display Frequently visited documents for the logged in User using Search Results webpart

I want to display frequently visited items (only Documents) by the logged-in user through search results webpart by handling with search query. I have tried using sortby "ViewsRecent" by "Descending" ...
1
vote
1answer
229 views

Combine multiple URL parameters for search query

I'have this query string ContentTypeId:0x01010062A988F9081BD142926BC79A5AA59288* {?{QueryString.Document}} and i would like to add another QueryString to it but im not sure how to add it correctly. I'...
1
vote
0answers
449 views

SharePoint Online - Content Search based on page 'Wiki Category' field

I have added a Content Search web part to a Wiki Page Layout and I want to display all Wiki Pages that have the same category as the page the user is on. My plan is to use the page field "Wiki ...
0
votes
1answer
176 views

sharepoint search OR query with filter

I had the following query: https://[tenant].sharepoint.com/_api/search/query?querytext='Path:"https://one365dev1.sharepoint.com/teams/privegroep/Gedeelde%20%20documenten/*%22Isdocument=1"'&...
1
vote
0answers
45 views

Searching by Managed Metadata

Currently I have a document library with multiple views and tabbed using hillbilly tabs, the find a file function is not working for me for some reason. The library has a managed metadata field and I ...
1
vote
0answers
120 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 ...
-1
votes
1answer
512 views

Get only one result from search query REST API

We are trying to get only one result from couple of results. Bellow is command: _api/search/query?querytext='JobTitle="IT support"'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31' When I run it, ...
2
votes
0answers
23 views

Assigning the values of Managed column into another field in Search query

I have a List with the managed column "Finance" which contains the list of finance departments. I need to check if User's department belongs to any of the values in the "Finance" list.I am using ...
0
votes
2answers
565 views

sharepoint search multi value managed property

I'm working on Sharepoint 2013 and I have a site column named Location tied to a taxonomy, you will have the corresponding managed property to query against: owstaxIdLocation. I want to create two ...
1
vote
1answer
1k views

select specific properties from People Manager with rest api

i use this query to get User properties /_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v=%27SP%5Catish%27 In response i get a UserProfileProperties object which shows all the ...
1
vote
2answers
3k views

How to add more than one refinementFilters in a search query

My search query is /_api/search/query?querytext='*'&selectproperties='PreferredName,OriginalPath,WorkEmail,SipAddress,Department,Path,PictureURL,JobTitle,AccountName,BaseOfficeLocation,'&...
0
votes
1answer
80 views

Can not filter my Search results inside my Search Content WebPart based on a Dropdown site columnvalue

I have a site column named Risk/Issue status which is of type drop down and have multiple values, such as; Open, Closed, In Progress, etc.., as follow:- now i want to define a search query inside my ...
0
votes
1answer
103 views

Search query variables escaping

Search queries allow to filter by the current web property value with the "{Site.propertyName}" syntax (https://technet.microsoft.com/en-US/library/jj683123(v=office.15)) How can be escaped the ...
0
votes
1answer
165 views

How to build this SearchQuery in SharePoint 2013 Search Result Webpart?

My search query: Path:{Site.URL} EventDateOWSDATE:{Today+4} OR EndDateOWSDate:{Today+4} Does only return the events with an Enddate of Today+4. But I want it, to show me "all the Events of Today+4 ...
1
vote
0answers
346 views

How to use SP13 Search to show the most read blog posts during last 7 days?

We have 2 blogs, on different sites, on our intranet. On the homepage, we use a content by Content Search Web Part because we'd like to show a top 5 list of the most read/viewed posts (from either of ...
1
vote
1answer
740 views

How to get all items in SC with a specific content type using JavaScript

There are five custom lists in a site collection, all have same content type. I would like to get all items from those five lists using JavaScript. Is there a way to get all items from all lists ...
0
votes
1answer
70 views

Implement search on field value in SharePoint 2013

How to query the SharePoint 2013 Search Service Application so that I will get results on the basis of field value in list? Eg. If the value is Active, it should be shown in search, if not active the ...
2
votes
1answer
1k views

what is the difference between ows_q and ows_q_text

When I try to create a managed property in Search and I try to select a crawled property, I get two sort of crawled properties for the same site column. ows_q_TDC_x0020_Article_x0020_Number and ...
1
vote
1answer
954 views

Content search query sort

I am trying to show last 10 modified documents in my search query for content search web part. In my query for sorting i choose "LastModifiedTime" descending. But the query dont display the correct ...
1
vote
1answer
760 views

SharePoint 2013 Content Search WebPart Query Unable to Exclude People Results

I am using a Content Search WebPart to search for a keyword from 100s of site collections under a web application. I have two content sources: 1. http://web.application (All the sites) 2. sps3://web....
2
votes
4answers
7k views

How can I limit search results to only one child site below the current site?

I have an application where the end user is able to add new subsites to existing sites, and add sub sites to those sub sites and so on. As part of the site template I have a Search Results Web Part ...
0
votes
2answers
384 views

Search - get tasks where Start date equals to Due date

Is it possible to build a search query, where I could fetch all tasks where start date equals to due date? Something like: TaskDueDateOWSDATE=TaskStartDateOWSDATE assuming I mapped start date to ...
1
vote
0answers
68 views

Search result preview returns title and url, is there a way to only show custom site columns in the result?

I've got a list with one item (site columns: title, license). Is there a way to retrieve only what's inside license based on the query text? (content search web part) I've tried to use {|License(from ...
2
votes
1answer
2k views

sharepoint search boolean managed property

I have a managed property isActive which happens to be a Boolean. I am creating a search query and I only want the ones that are active so isActive:true however I am having trouble with the correct ...
3
votes
1answer
4k views

CSWP query - list all items in a list AND list a spesific item in another list

Is there a way to combine two list in cswp? Get all list items from "car" list Get a spesific item from "plane" list (path:"company/Lists/car" (IsDocument:"True" OR contentclass:"STS_ListItem")) ...
1
vote
1answer
538 views

phone number search query

I am writing a query for phone numbers in search so when you input any part of the number it is returned by the search. I tried using this : (MobilePhone:{subjectTerms} OR PhoneNumber: {subjectTerms}...
0
votes
0answers
116 views

query rule sharepoint search

((^(?!(([\d-\.\s\(\)+]*([a-df-su-wyzA-DF-SU-WYZ]+|[tT]|[eE](?![xX][tT])|[xX][a-zA-Z]+))|(\d{1,3}$)|((\+|00|0)(\d+)$)))(")?(((\+|00|0)|(?=(\d*\s*\()))[0]*(?<country>\d+))?[\.\s-]?(\(?(?<area&...
1
vote
0answers
163 views

Search Query Variables in SharePoint 2010 (Federated Search)

I am working on an OpenSearch end-point that will be used solely by SharePoint environments (both 2010 and 2013) in federated search results. When configuring results sources in SharePoint 2013, ...
1
vote
0answers
635 views

how to pares search api odata json result in C#

i'm using that search query string siteUrl = "<site>"; string queryText ="Path:\"pathTosearch/*\" IsDocument:1"; string rowlimit = "10"; string sortExpression = "Write:descending"; ...
0
votes
1answer
843 views

How to retrive sharepoint list data using Search query in sharepoint 2010?

Currently i receiving data from sharepoint list using CAML and Linq. but now requirement is to retrive data from sharepoint list using search query. can anyone give examples or good articles to ...