<% var searchModel = data; %>

<article class="documentation container">
<h2>Search Tips</h2>
<section>
	<h3>General</h3>
	<ul>
		<li>Searching for multiple words at the same time will look for matches with that exact phrase - 
		e.g. <code>marine mammal</code> will only return matches mentioning <code>marine mammal</code> - 
		<code>marine</code> and <code>mammal</code> will return results that mention both of the independent words <code>marine</code> and <code>mammal</code>.</li>
		<li>Search filters are looking for matches in the science metadata for each data set. 
		Any text or metadata contained in the data files (e.g. .csv table, .zip folder) will not be searched.</li>
	</ul>
</section>
<section>
	<h3>Filter types</h3>
	
	<% if(searchModel.filterIsAvailable("attribute")){ %>
		<h4><i class="icon icon-table"></i><%=searchModel.fieldLabels["attribute"]%></h4>
		<p>Searches the attribute names (e.g. column headers) of data tables</p>
		<h5>Examples</h5>: <code>salinity</code>, <code>lifestage</code>
	<% } %>
	
	<% if(searchModel.filterIsAvailable("resourceMap")){ %>
		<!-- img/data-table.svg -->
		<h4><svg class="icon" fill="inherit" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1792" fill="inherit">
		  <path d="M1468 380c19 19 35 44 48 76s20 61 20 88v1152c0 27-9 49-28 68a93 93 0 01-68 28H96c-27 0-49-9-68-28a93 93 0 01-28-68V96c0-27 9-49 28-68S69 0 96 0h896c27 0 56 7 88 20s57 29 76 48l312 312zm-444-244v376h376c-7-19-14-33-22-41l-313-313c-8-8-22-15-41-22zm384 1528V640H992c-27 0-49-9-68-28a93 93 0 01-28-68V128H128v1536h1280z"/>
		  <path d="M565 1491v-121c0-6-2-11-6-15s-9-6-14-6H341c-6 0-10 2-14 6s-6 9-6 15v121c0 6 2 11 6 15s8 6 14 6h204c5 0 10-2 14-6s6-9 6-15zm0-243v-122c0-6-2-11-6-15s-9-6-14-6H341c-6 0-10 2-14 6s-6 9-6 15v122c0 6 2 10 6 14s8 6 14 6h204c5 0 10-2 14-6s6-8 6-14zm325 243v-121c0-6-2-11-6-15s-8-6-14-6H666c-6 0-10 2-14 6s-6 9-6 15v121c0 6 2 11 6 15s8 6 14 6h204c6 0 10-2 14-6s6-9 6-15zm-325-487V882c0-6-2-11-6-15s-9-5-14-5H341c-6 0-10 1-14 5s-6 9-6 15v122c0 6 2 11 6 14 4 4 8 6 14 6h204c5 0 10-2 14-6 4-3 6-8 6-14zm325 244v-122c0-6-2-11-6-15s-8-6-14-6H666c-6 0-10 2-14 6s-6 9-6 15v122c0 6 2 10 6 14s8 6 14 6h204c6 0 10-2 14-6s6-8 6-14zm325 243v-121c0-6-2-11-6-15s-8-6-14-6H992c-6 0-11 2-15 6s-6 9-6 15v121c0 6 2 11 6 15s9 6 15 6h203c6 0 10-2 14-6s6-9 6-15zm-325-487V882c0-6-2-11-6-15s-8-5-14-5H666c-6 0-10 1-14 5s-6 9-6 15v122c0 6 2 11 6 14 4 4 8 6 14 6h204c6 0 10-2 14-6 4-3 6-8 6-14zm325 244v-122c0-6-2-11-6-15s-8-6-14-6H992c-6 0-11 2-15 6s-6 9-6 15v122c0 6 2 10 6 14s9 6 15 6h203c6 0 10-2 14-6s6-8 6-14zm0-244V882c0-6-2-11-6-15s-8-5-14-5H992c-6 0-11 1-15 5s-6 9-6 15v122c0 6 2 11 6 14 4 4 9 6 15 6h203c6 0 10-2 14-6 4-3 6-8 6-14zm81-203v690c0 28-10 52-30 72a98 98 0 01-71 30H341c-28 0-52-10-71-30a98 98 0 01-30-72V801c0-28 10-52 30-72 19-20 43-30 71-30h854c28 0 52 10 71 30 20 20 30 44 30 72z"/>
		</svg>Data files (<%=searchModel.fieldLabels["resourceMap"]%>)</h4>
		<p>If this filter is checked, only search results that include data files will be returned. 
		If it is unchecked, some search results may be metadata files only.</p>
	<% } %>
	
	<% if(searchModel.filterIsAvailable("dataSource")){ %>
		<h4><i class="icon icon-group"></i><%=searchModel.fieldLabels["dataSource"]%></h4>
		<p>Select one or more DataONE Member Nodes to exclude your search to only data from those Member Nodes. 
		Each search result originated from only one Member Node, and its logo will be displayed in the search result listing.</p>
	<% } %>
	
	<% if(searchModel.filterIsAvailable("creator")){ %>
		<h4><i class="icon icon-user"></i><%=searchModel.fieldLabels["creator"]%></h4>
		<p>Searches the person name(s) or entity (organization, group, etc.) name(s) that are listed as creators of a dataset. 
		The username of the user who uploaded a data set is not taken into account (use the "Anything" filter instead).</p>
		<h5>Examples:</h5> <code>Smith</code>, <code>John Smith</code>
	<% } %>
	
	<% if(searchModel.filterIsAvailable("pubYear") || searchModel.filterIsAvailable("dataYear")){ %>
		<h4><i class="icon icon-calendar"></i>Year</h4>
		<p>Use the slider or type in a year number and limit your search to data that was collected and/or published between that year range. You can filter results by year in two ways:</p>
		<ul>
			<li><h5>Year(s) of data coverage</h5>: Year that data was collected</li>
			<li><h5>Year of publication</h5>: Year that data was published. If the data creator did not provide a publish date, then the year the data was uploaded is used instead.</li>
		</ul>
	<% } %>
	
	<% if(searchModel.filterIsAvailable("id")){ %>
		<h4><i class="icon icon-bullseye"></i><%=searchModel.fieldLabels["id"]%></h4>
		<p>An advanced filter to use when searching for a dataset by part or all of its ID or DOI (Digital Object Identifier).
		<a href="<%= MetacatUI.root %>/about/assigning-dois">What is a DOI?</a></p>
		<h5>Examples</h5>: <code>lter</code>, <code>doi:10.5063/F1HH6H0R</code>
	<% } %>
	
	<% if(searchModel.filterIsAvailable("taxon")){ %>
		<h4><i class="icon icon-sitemap"></i><%=searchModel.fieldLabels["taxon"]%></h4>
		<p>Searches all taxonomic ranks that were provided by the data set creator for a full or partial match.</p> 
		<h5>Examples</h5>: <code>Dreissena polymorpha</code>, <code>Mollusca</code>
	<% } %>
	
	<% if(searchModel.filterIsAvailable("spatial")){ %>
		<h4><i class="icon icon-globe"></i><%=searchModel.fieldLabels["spatial"]%></h4>
		<p>Searches the geographic site or study area description. 
		The location may be a place name or a detailed description of the study site.</p> 
		<h5>Examples</h5>: <code>Hudson River</code>, <code>freshwater</code>
	<% } %>
</section>
</article>
