Ektron 9.00
Microsoft FAST Search provides the following advantages:
This chapter explains how to set up Microsoft FAST Search, and how to use its features.
Prerequisites
You purchased and deployed Microsoft FAST Search Server 2010 and SharePoint Server 2010. See Also: Licensing Q&A: Determining Your Licensing Needs, Product Licensing Search
After you complete the
NOTE: When installing Microsoft FAST Search Server 2010, you are prompted to enter a certificate password. Note this password, because you need it in Part 2c: Set up SSL-Enabled Communication.
Follow the steps below to set up Microsoft FAST Search Server 2010. You need to create 2 Search Service Applications.
Before creating the FAST Search Connector, create a collection for the Ektron content source. The collection lets you clear only Ektron content from the index. To learn more, see Manage content collections (FAST Search Server 2010 for SharePoint).
New-FastSearchContentCollection –Name ektroncms –Pipeline ”Office14 (webcluster)”
NOTE: * The Name
is the new collection name.
* Surround the Pipeline
name in quotes (as shown above).
* Surround webcluster
with curly brackets ().
* See Also: New-FASTSearchContentCollection
Complete the screen.
%FASTSEARCH%\Install_Info.txt
file. Copy the value of
Content Distributors (for GUI SSA creation) to this field.===============================================================
FASTSearch: Installation Details
===============================================================
---------------------------------------------------------------
FAST Search Query Search Service Application configuration
---------------------------------------------------------------
Query Service Location HTTP (default):
http://ektsqa20.fsqa.ektron.com:13287
Query Service Location HTTPS:
https://ektsqa20.fsqa.ektron.com:13286
Administration Service Location HTTP (default):
http://ektsqa20.fsqa.ektron.com:13257
Administration Service Location HTTPS:
https://ektsqa20.fsqa.ektron.com:1325
8Resource Store Location:
http://ektsqa20.fsqa.ektron.com:13255
Account for Administration Service:
fsqa\fsuser
---------------------------------------------------------------
FAST Search Content Search Service Application configuration
---------------------------------------------------------------
Content Distributors (for PowerShell SSA creation):
ektsqa20.fsqa.ektron.com:13391
Content Distributors (for GUI SSA creation):
ektsqa20.fsqa.ektron.com:13391
Default Content Collection Name: sp
---------------------------------------------------------------
Other services.....
NOTE: Keep the Install_Info.txt
file open—you need it in Part 2d: Create a Search Service Application for Querying.
To authorize SSLSecure Sockets Layer (https) communication between SharePoint 2010 and Microsoft FAST Search Server 2010: Source: Create and set up the Content Search Service Application (FAST Search Server 2010 for SharePoint)
Prerequisite
You need the password you supplied when setting up Microsoft FAST Search Server 2010.
\FASTSearch\installer\scripts
.\FASTSearch\data\data_security\cert
.FASTSearchCert.pfx
to any folder on the SharePoint server. .\SecureFASTSearchConnector.ps1 –certPath "path of the certificate\FASTSearchCert.pfx" –ssaName "name of your content SSA" –username “domain\username”
Replace the following parameter values:
(Source: Create and set up the Query Search Service Application (FAST Search Server 2010 for SharePoint))
%FASTSEARCH%\Install_Info.txt
file to obtain the value for this field. (See example below.) Use the HTTPS value if you want to use secure communications between the SharePoint 2011 and Microsoft FAST Search Server 2010 servers.===============================================================
FASTSearch: Installation Details
===============================================================
---------------------------------------------------------------
FAST Search Query Search Service Application configuration
---------------------------------------------------------------
Query Service Location HTTP (default):
http://ektsqa20.fsqa.ektron.com:13287
Query Service Location HTTPS:
https://ektsqa20.fsqa.ektron.com:13286
Administration Service Location HTTP (default):
http://ektsqa20.fsqa.ektron.com:13257
Administration Service Location HTTPS:
https://ektsqa20.fsqa.ektron.com:13258
Resource Store Location:
http://ektsqa20.fsqa.ektron.com:13255
Account for Administration Service:
fsqa\fsuser
---------------------------------------------------------------
FAST Search Content Search Service Application configuration
---------------------------------------------------------------
Content Distri.......
---------------------------------------------------------------
%FASTSEARCH%\Install_Info.txt
. (See example above.) Use the HTTPS value if you want to use secure communications between the SharePoint 2011 and Microsoft FAST Search Server 2010 servers.%FASTSEARCH%\Install_Info.txt
. (See example above.)Part 3 describes how to transfer a Microsoft FAST Search Server 2010 STS certificate (MOSS_STS) from SharePoint Server 2010 to FAST servers. This certificate enables SharePoint query servers to provide security-trimmed queries. See Also: Enable queries from Microsoft SharePoint Server (FAST Search Server 2010 for SharePoint)
Prerequisite
You will need a SharePoint Server 2010 directory that is accessible to Microsoft FAST Search Server 2010 servers.
$stsCert = (Get-SPSecurityTokenServiceConfig) .LocalLoginProvider.SigningCertificate $stsCert.Export("cert") | Set-Content -encoding byte MOSS_STS.cer
MOSS_STS.cer
file is created in the directory in which you run the commands. MOSS_STS.cer
to a directory accessible to the Microsoft FAST Search Server 2010 server(s). <FASTSearchFolder>\installer\scripts\
, where <FASTSearchFolder>
is the path to the Microsoft FAST Search Server 2010 folder. For example, C:\FASTSearch\installer\scripts\
. .\InstallSTSCertificateForClaims.ps1 -certPath <"full path of MOSS STS certificate">
Where full path of MOSS STS certificate
is the path to the location to which you copied the MOSS_STS.cer file in Step 5.
Advanced Filter Pack is a Microsoft FAST Search Server 2010 feature that enables text and metadata extraction from several hundred file formats (such as PDF), complementing the document formats supported by the Microsoft Filter Pack.
Prerequisite
Install 1 of the following PDF filters on the Microsoft FAST Search Server 2010 server:
- Foxit PDF filter (Foxit® PDF IFilter - Server—recommended if you will index a large number of PDF files)
- Adobe 64-bit PDF iFilter (installed on Ektron server
C:\Program Files (x86)\Ektron\CMS400vxx\Utilities\iFilterPack
)
installer\scripts
folder using this command: cd .\installer\scripts.
.\AdvancedFilterPack.ps1 –enable
.%FASTSEARCH%\etc\config_data\DocumentProcessor\formatdetector\user_converter_rules.xml
.<ConverterRules> <IFilter> <trust> <!-- A list of extensions that bypasses the builtin format detection. Any extension that is not supported out-of-the-box, need to be added here along with the mimetype if you have installed an IFilter for that type and want to use it. A mime element should also be added to the MimeMapping element with a human-friendly description of the type. <ext name=".xxx" mimetype="application/xxx" /> <ext name=".yyy" mimetype="image/yyy" /> --> <ext name=".pdf" mimetype="application/pdf" /> </trust> </IFilter> <MimeMapping> <!-- A mapping between mime types and the description of them. <mime type="application/xxx">XXX Document</mime> <mime type="application/postscript">YYY Image</mime> --> <mime type="application/pdf">PDF Document</mime> </MimeMapping> </ConverterRules>
IMPORTANT: Back this file up in a safe location, so that you can re-enter these changes if you later need to apply a FAST service pack, patch, or hotfix.
Install Ektron, setting it up for your environment. When prompted to select a search provider, choose Microsoft FAST Search Server 2010. When prompted to connect the site to a Microsoft Search Server 2010 instance, click No. Complete the Ektron installation. See Also: Installing Ektron
EktronSearchConfiguration.exe
enables communications between your site and the FAST search service.
%SystemDrive%\Program Files (x86)\Ektron\Utilities\SearchServer
\EktronSearchConfiguration.exe
During this process, the FAST search index is populated with your data, and the schema is modified to include your site’s searchable properties. This process can be lengthy when registering a site for the first time. You can monitor these activities in the Workarea. See Also: Setting Up Microsoft Search Server 2010
%CommonProgramFiles%\Microsoft Shared\Web Server Extensions\14\ISAPI\EktronWebService
. web.config
file. <add key="QuerySSA" value="FAST Query SSA" />
value
property with the name of the Query Service application you entered in Part 2d: Create a Search Service Application for Querying. To continue that example, the line would look like this: <add key="QuerySSA" value="EktQuery" />
The topics below explain how to perform administrative tasks that are unique to Microsoft FAST Search Server 2010. Several other search-related functions that apply to all Microsoft search providers (including Microsoft FAST Search Server 2010) are listed below.
By default, the Title property is not sortable. To change it so that it is sortable, follow these steps.
IMPORTANT: When used to sort, the Title property follows an ASCII sort pattern. As a result, titles that begin with a capital letter precede ones that begin with a lower case letter. For example:
Better Business Bureau
Tiramisu recipe
american foreign policy
See Also:
Facets are content properties that allow site visitors to filter search results. For example, your site lists job postings. So, your search results page offers a Region facet, which visitors use to select jobs within regions of interest.
Faceted search has these limitations:
The refiner count may be inaccurate if you are using duplicate removal. For more information, see Refiner count is wrong when using duplicate removal.
This section explains how to implement faceted searching using Ektron and Microsoft FAST Search Server 2010.
IMPORTANT: Carefully plan capitalization, spelling, spacing, and so on of metadata definitions for Faceted Search. Minor inconsistencies can result in duplicate entries, as shown below.
NOTE: You enter emt because this is a text-style metadata definition. Use these prefixes for other styles.
Microsoft FAST Search Server 2010 prefixes for Ektron metadata definition styles:
a <Refiners>
tag as shown. The tag references the managed property name, emtregion
in our example. <ektron:SiteSearchController ID="controller" runat="server"> <Refiners> <ektron:Refiner Name="emtregion"/> </Refiners> </ektron:SiteSearchController> <ektronUI:Pager runat="server" ResultsPerPage="50" PageableControlID="controller" > </ektronUI:Pager>
Here are sample search results. If you click a checkbox next to a region, the page refreshes and displays only content to which that metadata property is applied.
Microsoft FAST Search Server 2010 lets you adjust the rank of search results, enabling you to control which content appears near the top. This feature is sometimes called "Advanced Sorting." You typically use the Rank Profile feature when site visitors are not getting expected search results. For example, your manage a university website and, when people enter Admissions, the Admissions department page is not among the top search results. To fix that, use a Rank Profile to force search results to the top.
See Also: Tune relevance factors (FAST Search Server 2010 for SharePoint), Manage rank profiles (FAST Search Server 2010 for SharePoint), Ranking and Sorting (FAST Search Server 2010 for SharePoint)
Here is an overview of how to increase the search rank for selected content.
To increase a content item's search rank, first create searchable Ektron metadata definitions. They contain the content attribute by which site visitors will search. Then, apply those metadata definitions to relevant folders and content.
NOTE: The process of creating and applying metadata is abbreviated here. For full details, see Creating and Deploying a Search Tag Definition.
To continue the above example, create a searchable metadata definition named Departments, of the type Select from a List. Add Admissions to the list of values. Then, apply that metadata to all folders that contain relevant content.
Next, find Ektron content that describes your Admissions department. Edit that content, click the Metadata tab, and apply the Admissions metadata to the content.
Prerequisite
The Microsoft FAST Search Server 2010 type and metadata value name you use to increase the search rank. To continue the above example, use emtadmissions. For a list of types, see Using Faceted Search.
NOTE: For more information on Index schema cmdlets, see Index schema cmdlets (FAST Search Server 2010 for SharePoint).
To create a Rank Profile:
New-FASTSearchMetadataRankProfile -name (your profile name)
$mp = Get-FASTSearchMetadataManagedProperty -Name (your managed property)
$rp = Get-FASTSearchMetadataRankProfile -name (your profile name)
$mp
command has 2 parameters:$rp.CreateManagedPropertyBoostComponent($mp, "<string/integer managed property value>,<boost number>)”)
Replace values within angle brackets (< >) with actual values.
$rp.Update()
Here’s an example:
New-FASTSearchMetadataRankProfile -name departments $mp = Get-FASTSearchMetadataManagedProperty -Name emtadmissions $rp = Get-FASTSearchMetadataRankProfile -name departments $rp.CreateManagedPropertyBoostComponent($mp, "admissions,20000") $rp.Update()
This section explains how to use a Rank Profile to modify search results, using either the SiteSearchInputView server controla server control uses API language to interact with the CMS and Framework UI to display the output. A server control can be dragged and dropped onto a Web form and then modified. or the APIApplication Programming Interface.
Modify all SiteSearchInputView server controls that you want the ranking to modify. See Also: Using the Search Server Controls. To achieve that, use <SortProperties>
tags as shown below. Inside the tags, set these parameters.
<ektron:SiteSearchInputView ID="SiteSearchInputView1" runat="server" ControllerID="SiteSearchController1"> <SortProperties> <ektron:RankSearchProperty DisplayName="Custom Relevance" RankId="departments" /> </SortProperties> </ektron:SiteSearchInputView>
The following illustrates how to modify search results via the Rank Profile using the API.
criteria.OrderBy = new List<OrderData>() { new OrderData(new RankPropertyExpression("rank profile name"), OrderDirection.Ascending) };
For example:
criteria.OrderBy = new List<OrderData>() { new OrderData(new RankPropertyExpression("departments"), OrderDirection.Ascending) };
$rp = Get-FASTSearchMetadataRankProfile -name (your profile name)
$mp = Get-FASTSearchMetadataManagedProperty -name Name (your managed property)
$_.BoostValue
command has 2 parameters: string,int and boost number. Use the same values you used when creating the Rank Profile. See Part 1: Install SharePoint 2010 and Microsoft FAST Search Server 2010.$boost1 = $rp.GetManagedPropertyBoosts() | Where-Object{$_.BoostValue -like '*(string/int),(boost number)*'}
$boost1.Delete()
$rp.Update()
Here’s an example:
$rp = Get-FASTSearchMetadataRankProfile -name departments $mp = Get-FASTSearchMetadataManagedProperty -name emtadmissions $boost1 = $rp.GetManagedPropertyBoosts() | Where-Object{$_.BoostValue –like '*admissions,20000*'} $boost1.Delete() $rp.Update()
FreshnessResolution
is set to second
. See Also: Change the freshness resolution and weight by using Windows PowerShellProblem: Documents are not being indexed.
Solution: Provide full control rights on the %FASTSEARCH%\bin
and %FASTSEARCH%\tmp
folders for the user running Microsoft FAST Search Server 2010
More information: Crawling and processing Office documents with FAST for Sharepoint 2010 results in document conversion errors in the crawl log