Questions tagged [keyword-query-language]

keyword query language(KQL) specifies a syntax for search queries that enables users and application implementers to formulate search queries in a structure that resembles natural language and at the same time allows the specification of Boolean matching rules on text and properties of the searched items.

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

How to write ANDNOT in KQL query?

I need to achieve a query where RefinableDate00 must be earlier than today RefinableDate00:1900-01-01..{Today} but also should not be null since if it is null, the result I want does not appear in the ...
user avatar
0 votes
0 answers
79 views

Keyword Query Language to get all the Items holding particular SharePoint Security group from Site Collection

I have requirement to get all the items from Lists & Document Libraries of entire site collections holding SharePoint Security group name "Inspection" using Keyword Query Language. Can any one ...
user avatar
  • 1,155
4 votes
2 answers
10k views

Search Keyword Query - Site URL with space in Path not working

I have tried to search for specific site using following simple Keyword Query: Path:https://contoso.sharepoint.com/Test site 1/ FileType:doc* Above query is not working due to space contains in the ...
user avatar
  • 3,217
1 vote
0 answers
42 views

Hide folder for particular site collection in SharePoint Online

I have 2 site collections on my tenant - site collection A site collection B. I want to restrict the end users from searching folders from Site collection A and allow them to search folders from ...
user avatar
  • 1,807
2 votes
1 answer
549 views

Can KQL date range be used in library find file box ?

I have set up a managed property as a date time type and mapped it to the crawled date time property in my library. In the find file box for the library I can use : mymanagedproperty>2015-1-1 ...
user avatar
  • 546
1 vote
1 answer
1k views

KQL language reference for Search Result Sources

I'm just getting into KQL and using the query builder with custom search result sources in my site collection. I've found this documentation on msdn and that is very helpful, but I don't think it is ...
user avatar
  • 2,929
1 vote
1 answer
186 views

Cross-site publishing combine remote list into site search

We are working with a cross-site publishing set up and that is all hooked up and working well for navigation and showing the catalog/list of entries on the publishing side. Actually we have two remote ...
user avatar
  • 2,929