Property doesn’t exist or is used in a manner inconsistent with schema settings.
26 Friday Aug 2011
Posted Fast Search, Sharepoint
in26 Friday Aug 2011
Posted Fast Search, Sharepoint
in26 Friday Aug 2011
Posted Fast Search, Sharepoint
inTechNet has an article to create and view Search Scope, but I followed all the procedure still can’t get Item in the search scope.
After hours search, I found you will need to create a content source in your Fast Search Query service as well.
Below is the PowerShell I run to create the search scope
a list of all available content sources$searchapp = Get-SPEnterpriseSearchServiceApplication "FASTQuery Service Application"
Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp$searchapp = Get-SPEnterpriseSearchServiceApplication "FASTQuery Service Application"
$scope = New-SPEnterpriseSearchQueryScope -Name "productsscope " -Description "product scope created in PowerShell" -SearchApplication $searchapp -DisplayInAdminUI $trueNew-SPEnterpriseSearchQueryScopeRule -RuleType PropertyQuery -ManagedProperty ContentSource -PropertyValue "Product Master"-FilterBehavior Include -url http://simsearch.simapps -scope $scope -SearchApplication $searchapp
26 Tuesday Jul 2011
Posted Sharepoint
inMSDN has a good tutorial on how you can
Add the custom property to the search query.
Modify the XSLT transformation (XSLT) to display the custom property.
One the most important thing is the property name in your XSLT need to be lowercase!!! I only find out when I view the XML results by replacing the XSLT as
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/><xsl:template match="/"><xmp><xsl:copy-of select="*"/></xmp></xsl:template></xsl:stylesheet>Here is also some good examples how you can add the managed property by PowerShell thathelp me to find out if properties are set up right.
25 Monday Jul 2011
Posted Sharepoint
inTags
PDF can be indexed by Fast Search oob, but there is some configurations to get it work. It took me a while to get the results.
First, to verify you have installed fast search has been installed correctly. http://technet.microsoft.com/en-us/library/ff381272.aspx
You can test by manually push one pdf file to see if it has been indexed.
PS D:\FASTSearch\bin> Docpush -c sp d:\test.pdfPS D:\FASTSearch\bin> Get-FASTSearchContentCollection -name "sp"
PS D:\FASTSearch\bin> Clear-FASTSearchContentCollection -name "sp"
Then run a crawling, the file should be in your search result.
But the second problem is all PDFs on the site have not been indexed.You can follow this tutorial to
change SharePoint configuration files and registry. Just ignore the iFilter as you don’t need for fast search. Here is the script by Agnes that can do everything for you at once, but remember you need to run on all WFEs.
After all, try to do a full crawl on your content sources, the results are here now.
I am also experiencing to reset all content index so that I can clear all the noisy data. Here is the steps.
Basically you just need to Reset on your Fast Content SSA and then go to Fast Search Server run
Get-FASTSearchContentCollectionClear-FASTSearchContentCollection -Name <collection name>
22 Wednesday Jun 2011
Posted Sharepoint
inYou will need to manually active the feature by PowerShell.
GUID for the FAST Site Admin Feature (5EAC763D-FBF5-4d6f-A76B-EDED7DD7B0A5).
add-pssnapin microsoft.sharepoint.powershell $siteWithNoFastFeatures = get-SPSite http://searchsite $siteWithNoFastFeatures.Features.Add("5EAC763D-FBF5-4d6f-A76B-EDED7DD7B0A5") $siteWithNoFastFeatures.Dispose()
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }