Quantcast
Viewing latest article 10
Browse Latest Browse All 10

Syntax for SharePoint 2010 Enterprise Search Queries

Recently I was asked if I knew how to create a search that returned results for items created in the last 7 days. I knew I could do this but couldn’t remember exactly the right syntax for the query I was trying to create. So I pinged off a couple of search terms and quickly found some examples of what I was looking for.

Whilst doing so though I happened to come across a really great resource on MSDN for SharePoint Enterprise Search queries – showing what is possible and the various ways of doing so. Did you know for example that you can define synonyms in your query, e.g.:

WORDS(TV, Television)

Or that you can’t include any white space between the property name, property operator and property value when restricting by specific property, e.g. this will not restrict to results authored by me:

author: “Glyn Clough” – note there’s a space after the colon!

So mostly for myself, but also in case this is valuable to you – here are the relevant links:

I definitely recommend giving these a skim to refresh your memory on just how powerful SharePoint Search is!


Viewing latest article 10
Browse Latest Browse All 10

Trending Articles