none
Indexing integer meta tags in HTML content RRS feed

  • Question

  • I've got the following meta tag in a HTML page and am unable to index the value as an integer.  It works great as text.  I've also noticed that FAST Search for SharePoint 2010 seems to automatically discover/create a text version of the crawled property even after I've created an integer version using powershell and the New-FASTSearchMetadataCrawledProperty cmdlet.

    How would one get this indexed as an integer?  I believe it's not possible to use the document processing pipeline to read the value as text and output it as a different property of type integer, because output varTypes are suppose to be 30 or 31 when using the document processing pipeline.

    http://msdn.microsoft.com/en-us/library/ff795815.aspx

    <meta name="mycrawledproperty" value="123">


    -Tim

    Wednesday, February 15, 2012 10:49 PM

Answers

  • Hi,

    You have to create a custom extensibility stage which reads the text version of the cp (variant type=31), then write it to a new cp which is of type integer (variant type=20). This new cp you can then map to a managed property and use in your solutions.

    You can output to any variant type from your code, not only text.

    Regards,
    Mikael Svenson


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/

    • Marked as answer by cecropin Friday, February 17, 2012 5:39 AM
    • Unmarked as answer by cecropin Friday, February 17, 2012 5:39 AM
    • Marked as answer by cecropin Friday, February 17, 2012 5:39 AM
    Thursday, February 16, 2012 1:17 PM