{"id":1945,"date":"2011-08-26T17:34:05","date_gmt":"2011-08-26T09:34:05","guid":{"rendered":"http:\/\/www.sharepointboost.com\/blog\/?p=1945"},"modified":"2023-07-31T11:40:28","modified_gmt":"2023-07-31T03:40:28","slug":"tips-searching-for-content","status":"publish","type":"post","link":"https:\/\/www.boostsolutions.com\/blog\/tips-searching-for-content\/","title":{"rendered":"Tips: Searching for Content"},"content":{"rendered":"<p>There are several ways to search for content in Microsoft SharePoint Server 2010. You can use the <strong>Search<\/strong> box that is on each page of a SharePoint site, the Search Center site,  or create a detailed query by using the Advanced Search page. You can  look for content by searching for keywords, a specific phrase enclosed  in quotation marks, or by values that are assigned to properties.<\/p>\n<h2>Search for text or files on a site<\/h2>\n<p>When you are looking for content, but are not sure where it is  located, start your search at the highest site where you think the  information might reside. You can then refine the results in order to  find the information. You can look for content by entering keywords or a  specific phrase enclosed in quotation marks.<\/p>\n<ol type=\"1\">\n<li>Go to the site you want to search. Site search results do not  include content on a parent site or on adjacent sites. Make sure you&#8217;re  at the top site for the search results you want.<\/li>\n<li>In the search box, type the word or phrase that you want to look for, and then click the <strong>Search<\/strong> button.<\/li>\n<li>By default, search results are displayed by relevance. To sort the results differently, click an option under <strong>Refine Results<\/strong>. You can also enter a new keyword search change the scope to <strong>This List<\/strong>. Doing so will restrict future queries to the first set of results. If you enter a new search with the scope set to <strong>This Site<\/strong>,  a new search will occur from the same site or sites as the original  query.<\/li>\n<\/ol>\n<p><strong> Notes <\/strong><\/p>\n<ul type=\"disc\">\n<li>Attachments to list items do not appear in search results.<\/li>\n<li>The search box is limited to a maximum of 255 characters.<\/li>\n<\/ul>\n<h2>Search for text or files in a list or library<\/h2>\n<p>When you are sure that the content you are looking for resides in a  list or library, start the search on the page where the list or library  resides. Search results allow you to refine your search by metadata,  such as the author of the document or the date that it was written. You  can look for content by entering keywords or a specific phrase enclosed  in quotation marks. If you don&#8217;t find the content you want, try searching from a site or using different keywords.<\/p>\n<ol type=\"1\">\n<li>Go to the list or library that you want to search.<\/li>\n<li>In the search box, type the word or phrase that you want to look for, and then click the <strong>Search<\/strong> button.<\/li>\n<li>By default, search results are displayed by relevance. To sort the results differently, click an option under <strong>Refine Results<\/strong>.<\/li>\n<\/ol>\n<p><strong> Notes <\/strong><\/p>\n<ul type=\"disc\">\n<li>Attachments to list items do not appear in search results.<\/li>\n<li>The search box is limited to a maximum of 255 characters.<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h2>Find content from a Search Center site<\/h2>\n<p>Your organization may use a Search Center site. The Search Center  site is the place to go when you want to find enterprise-wide results.  The default Search Center site displays a <strong>Search<\/strong> box where you can type your query.<\/p>\n<ol type=\"1\">\n<li>To display the Search Center site click <strong>Search Center<\/strong> or <strong>Enterprise Search Center<\/strong> in the navigation links near the top of most pages.<\/li>\n<li>If the Search Center site includes links, click a link to search in certain locations or to find <strong>People<\/strong>. For example, click <strong>All Sites<\/strong> to search for content on every available site.<\/li>\n<li>Type a query in the <strong>Search<\/strong> box.<\/li>\n<\/ol>\n<h2>Write effective queries<\/h2>\n<p>Whether you search from a site or the Search Center constructing an  effective query can result in quickly finding the information you want.  You can use a combination of free text, phrases, logical operators, and  property-based restrictions look for information or people.<\/p>\n<p>Here are some things to keep in mind when writing a query:<\/p>\n<ul type=\"disc\">\n<li><strong>Separate search terms with spaces<\/strong> The search results will list all content containing all of the words in any order.<\/li>\n<\/ul>\n<ul type=\"disc\">\n<li><strong>Search ignores capitalization<\/strong> A search for <strong>Author:John<\/strong> has the same results as a search for <strong>author:john<\/strong>.<\/li>\n<li><strong>Use quotation marks for exact results<\/strong> When you are sure that the document you want contains the exact words  in the exact order of your query, put the query in quotes. Otherwise, it  is best to leave the phrase unquoted. For example, a query for this  article, <strong>Search for content<\/strong> will find only those articles where &#8220;search&#8221; AND &#8220;content&#8221; are together.<\/li>\n<\/ul>\n<ul type=\"disc\">\n<li><strong>Number of characters<\/strong> A query must be no longer than 255 characters.<\/li>\n<\/ul>\n<h3>Add Boolean logic to a query<\/h3>\n<p>Now that you know about the basics of search, you might want to add  some parameters to make your search results more specific. SharePoint  allows you to use Boolean logic to keywords and properties, which means  connecting them with the operators AND, OR, NOT, + (PLUS), and &#8211; (MINUS)  to construct a meaningful query. Use the following examples to help  create successful queries.<\/p>\n<div id=\"tableoverflow\">\n<table>\n<tbody>\n<tr>\n<th>Logical operator<\/th>\n<th>Description and example<\/th>\n<\/tr>\n<tr>\n<td>AND<\/td>\n<td>Use to find all words documents, regardless of their relationship. For example, <strong>apples AND oranges<\/strong> finds all documents containing both apples and oranges, but the two terms might not be concurrent in the documents.<\/td>\n<\/tr>\n<tr>\n<td>OR<\/td>\n<td>Use OR to find all documents containing either word or words. For example, a search for <strong>C++ OR C#<\/strong> finds all documents containing either of those programming languages.<\/td>\n<\/tr>\n<tr>\n<td>NOT<\/td>\n<td>Use NOT to exclude certain results. For example, <strong>marketing AND forecast NOT budget <\/strong>will return documents containing the keywords marketing and forecast, but not budget.<\/td>\n<\/tr>\n<tr>\n<td>+ (PLUS)<\/td>\n<td>The query <strong>SharePoint+Excel <\/strong>will return all documents containing both keywords.<\/td>\n<\/tr>\n<tr>\n<td>&#8211; (MINUS)<\/td>\n<td>The query <strong>SharePoint+Excel -Excel 2007 -Excel 2003 <\/strong>will return all documents containing keywords Excel 2003 and Excel 2007.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>In addition to logical operators, SharePoint allows the use of  relational operators. You can construct a query by using the following  values:<\/p>\n<div id=\"tableoverflow\">\n<table>\n<tbody>\n<tr>\n<th>Relational operator<\/th>\n<th>Description and example<\/th>\n<\/tr>\n<tr>\n<td>: Colon<\/td>\n<td>Use with a property to specify equality. For example, <strong>Author:Smith <\/strong>means the author equals Smith.<\/td>\n<\/tr>\n<tr>\n<td>= Equal to<\/td>\n<td>Use with a property to specify equality. For example, <strong>Author:Smith <\/strong>means the author equals Smith.<\/td>\n<\/tr>\n<tr>\n<td>&lt; Less than<\/td>\n<td>Use with dates and integers to specify less than. For example, <strong>search specs modified&lt;7\/8\/09<\/strong> will return all search specifications that were modified before July 8, 2009.<\/td>\n<\/tr>\n<tr>\n<td>&gt; Greater than<\/td>\n<td>Use with dates and integers to specify greater than. For example, <strong>search specs modified&gt;7\/8\/09<\/strong> will return all search specifications that were modified after July 8, 2009.<\/td>\n<\/tr>\n<tr>\n<td>&lt;= Less than or equal to<\/td>\n<td>Use with dates and integers to specify less than or equal to. For example, <strong>search specs modified&lt;=7\/8\/09<\/strong> will return all search specifications that were modified before July 8, 2009 inclusive.<\/td>\n<\/tr>\n<tr>\n<td>&gt;= Greater than or equal to<\/td>\n<td>Use with dates and integers to specify greater than or equal to. For example, <strong>search specs modified&gt;=7\/8\/09<\/strong> will return all search specifications that were modified after July 8, 2009 inclusive.<\/td>\n<\/tr>\n<tr>\n<td>.. two dots<\/td>\n<td>For example, <strong>property: value 1..value 2<\/strong> indicates that the property is greater than or equal to value 1 and less than or equal to value 2.<\/td>\n<\/tr>\n<tr>\n<td>&lt;&gt; (not equal to)<\/td>\n<td>Use with dates and integers to exclude. For example, <strong>search specs modified&lt;&gt;7\/8\/09<\/strong> will return all search specifications that were not modified on July 8, 2009.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3>Query using properties<\/h3>\n<p>You can construct queries using properties, which are the metadata on  documents saved in SharePoint. The author of a document or the date it  was saved is an example of a property. Content properties and their  values are stored when sites are indexed. When you have specific  information about the properties of an item, you can use it to help  construct a query to find the item.<\/p>\n<p>When you create a search using properties, do not use spaces between the property and the value.<\/p>\n<div id=\"tableoverflow\">\n<table>\n<tbody>\n<tr>\n<th>Search on property values<\/th>\n<th>Use the syntax <em>property:value<\/em>. For example, <em>author:smith <\/em>finds all documents authored by a person whose name is Smith.<\/th>\n<\/tr>\n<tr>\n<td>Search by filename<\/td>\n<td>Type <strong>filename:&#8221;Budget&#8221;<\/strong> (with quotation marks) to find a file named &#8220;Budget.xlsx,&#8221; or type <strong>filename:budget<\/strong> (without quotation marks) to find both &#8220;Budget_Current.xlsx&#8221; and &#8220;Budget_Next.xlsx.&#8221;<\/td>\n<\/tr>\n<tr>\n<td>Search by file type<\/td>\n<td>Suppose that you are looking for budget spreadsheets that were prepared in Excel 2007. Append <strong>filetype:xlsx<\/strong> to your query to display only search results that are Excel 2007 workbooks.<\/td>\n<\/tr>\n<tr>\n<td>Wildcards<\/td>\n<td>Use an asterisk &#8220;*&#8221; for a prefix match with a keyword or property to find documents. For example, a search for <strong>Author:Smi<\/strong> will return all documents written by an author whose name begins with the letters Smi.<\/td>\n<\/tr>\n<tr>\n<td>Search on different properties<\/td>\n<td>The search service interprets the space between terms that use different properties as an AND. For example, if you search on <strong>title:budget filetype:xlsx<\/strong>, your search will return only Excel 2007 workbooks with titles that begin with the word &#8220;Budget.&#8221;<\/td>\n<\/tr>\n<tr>\n<td>Exclude certain search results<\/td>\n<td>To exclude search results that contain certain terms, use a  minus sign (-) before the term that you want to exclude. For example, if  you want to find items that include the word &#8220;expenses&#8221; but do not  include the word &#8220;taxes,&#8221; type <strong>expenses -taxes<\/strong> in the <strong>Search<\/strong> box.<\/td>\n<\/tr>\n<tr>\n<td>Append file properties<\/td>\n<td>Use properties to specify the name or type of file to return.  For example, if you want to find Microsoft Office Word 2007 files that  include the word &#8220;schedule,&#8221; type <strong>schedule <\/strong><strong>filetype:docx<\/strong> in the <strong>Search<\/strong> box.<\/td>\n<\/tr>\n<tr>\n<td>Search for alternate values for the same property<\/td>\n<td>The search service interprets the space between terms that use the same property as an OR. For example, if you search on <strong>author:&#8221;John Smith&#8221; author:&#8221;David Jones&#8221;<\/strong>, your search will return items that were created by either person.<\/td>\n<\/tr>\n<tr>\n<td>Exclude property values<\/td>\n<td>To exclude content that is marked with a certain property value, use a minus sign (-) before the name of the property.<\/td>\n<\/tr>\n<tr>\n<td>Focus on a particular server<\/td>\n<td>If the <em>site<\/em> property is available for searches, you can append <strong>site:<\/strong><em><strong>servername<\/strong><\/em> to your query to focus your search on content that is stored on a particular server.<\/p>\n<p><strong> Note <\/strong> Backslash characters (\\) do not work in queries. Therefore, do not use backslashes for a server path when you type the <strong>site:\\\\<\/strong><em><strong>servername<\/strong><\/em>.<\/td>\n<\/tr>\n<tr>\n<td>Date\/time<\/td>\n<td>Any date\/time property in any format can be used with relational or logical operators to form a query. For example, <strong>search specs modified=7\/8\/09<\/strong> will return all search specifications that were modified on July 8, 2009.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><strong> Notes <\/strong><\/p>\n<p>A query must include at least one term to find. Queries that consist only of terms to exclude will produce an error message.<\/p>\n<p>If your administrator has mapped properties such as <strong>writer<\/strong> or <strong>e-mail<\/strong> to the managed property <strong>author<\/strong>, your results might also include content that contains these properties.<\/p>\n<p>If you cannot find documents that you know are in  your organization, you may need to work with your search services  administrator to have the documents added to the search index, enable  permissions on the documents, or add or change keywords or properties  for the documents.<\/p>\n<p>&nbsp;<\/p>\n<h2>Work with search results<\/h2>\n<p>By default, core search results are sorted by their relevance to your  query. Keyword definitions and Best Bet links (if any) are featured at  the beginning of your search results. You can refine the results by  clicking any of the links in the refinement panel.<\/p>\n<p>Your administrator can change the options that show up in the  refinement panel, but an example of how you might choose to refine the  search results is by the site where you think your document resides, the  author or authors you&#8217;re interested in viewing, or by the date or range  of dates the document or documents were written. One click on any of  the items in the refinement panel immediately presents the results set  by refinement method you choose.<\/p>\n<p>Another method of refining your search is by using scopes. If you  arrived at the search result page by using the Search Center or by  searching from a site, then you will see the option to refine the  results by <strong>This Site<\/strong> or <strong>This List<\/strong>. Choosing <strong>This List<\/strong> allows you to further refine the results by a new set of keywords or a phrase. You may also have the <strong>People<\/strong> or <strong>All Sites<\/strong> scope from which to choose.<\/p>\n<p>Search also suggests a list of related searches. A simple click on  one of these links immediately executes the query for text or a phrase  that is similar or related to your original search.<\/p>\n<p>If your organization enables people search and My Sites, you are  offered a list of people in your organization who have listed the search  word or phrase in their profile. Click the name of the person to go to  that person&#8217;s My Site. For more information about searching for people,  see the article Search for people.<\/p>\n<p>The search results page also displays <strong>Did you mean?<\/strong> suggestions above your search results. This feature suggests alternate  queries that you can try. Each suggestion is formatted as a link. To  search again on an alternate query, just click on it.<\/p>\n<p>&nbsp;<\/p>\n<h2>Find content by using <strong>Advanced Search<\/strong><\/h2>\n<p>If you need to construct a more specific query, you may want to use the <strong>Advanced Search<\/strong> page, which is available from the search results page. By using  Advanced Search you can choose to display or exclude results that  include certain words, filter search results by language or type, and  search on content properties. One disadvantage of using Advanced Search  is that by using too many parameters or restrictions the query can slow  down performance. As with any search query, use as few words or  restrictions as possible to widen the results and then narrow the  results by refining them.<\/p>\n<ol type=\"1\">\n<li>To display the <strong>Advanced Search<\/strong> page, click the <strong>Advanced<\/strong> link next to the <strong>Search<\/strong> box on the search results page.<\/li>\n<li>Under <strong>Find documents with<\/strong>, type words or phrases  in the fields that are shown in the following illustration. You can  choose to match each word, every word, an exact phrase, or to exclude  results that include certain words.<\/li>\n<\/ol>\n<p><img decoding=\"async\" title=\"Adv Search - Find documents with\" src=\"http:\/\/officeimg.vo.msecnd.net\/en-us\/files\/653\/128\/ZA010229535.gif\" border=\"0\" alt=\"Adv Search - Find documents with\" \/><\/p>\n<ol type=\"1\">\n<li>To narrow your search results by language, select one or more check boxes next to <strong>Only the language(s)<\/strong>.<\/li>\n<\/ol>\n<p><img decoding=\"async\" title=\"Adv Search - Only the language(s)\" src=\"http:\/\/officeimg.vo.msecnd.net\/en-us\/files\/835\/621\/ZA010229536.gif\" border=\"0\" alt=\"Adv Search - Only the language(s)\" \/><\/p>\n<ol type=\"1\">\n<li>To narrow your search results by document format, click an option from the <strong>Result type<\/strong> list.<\/li>\n<\/ol>\n<p><img decoding=\"async\" title=\"Adv Search - Result type\" src=\"http:\/\/officeimg.vo.msecnd.net\/en-us\/files\/164\/869\/ZA010229538.gif\" border=\"0\" alt=\"Adv Search - Result type\" \/><\/p>\n<ol type=\"1\">\n<li>To find content that is marked with certain values, use the fields beside the heading <strong>Where the Property<\/strong>. Click a property from the <strong>Pick Property<\/strong> list, choose a logical operator, and type a value that you want to search for. Click <strong>Add Property<\/strong> to search on more than one property, or on another value for the same  property. In the following example, the search results will display  items authored by Mike Smith that contain the term &#8220;Budget&#8221; in the name.<\/li>\n<\/ol>\n<p><img decoding=\"async\" title=\"Adv Search - Add properties\" src=\"http:\/\/officeimg.vo.msecnd.net\/en-us\/files\/058\/441\/ZA010229539.gif\" border=\"0\" alt=\"Adv Search - Add properties\" \/><\/p>\n<ol type=\"1\">\n<li>Click <strong>Search<\/strong> to display your search results.<\/li>\n<\/ol>\n<p>Brought to you by <a href=\"http:\/\/office.microsoft.com\/en-us\/sharepoint-server-help\/search-for-content-HA010378166.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Office blog<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are several ways to search for content in Microsoft SharePoint Server 2010. You can use the Search box that is on each page of a SharePoint site, the Search Center site, or create a detailed query by using the Advanced Search page. You can look for content by searching for keywords, a specific phrase [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[125],"tags":[],"_links":{"self":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1945"}],"collection":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=1945"}],"version-history":[{"count":6,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1945\/revisions"}],"predecessor-version":[{"id":9295,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1945\/revisions\/9295"}],"wp:attachment":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=1945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=1945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=1945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}