Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andrew Munro 78 posts 161 karma points
    Sep 15, 2012 @ 00:45
    Andrew Munro
    0

    Examine - Generating Search Result Excerpts

    I have a functioning search page that uses Examine to search for content on a coporate website. I would like to provide an excerpt that highlights the term in the results (similar to google but a lot simpler).

    Because of how my site is structured I have implemented the Examine event GatherNodeData to traverse a page's subcontent and populate a field called "FullPageContent". This field contains a text only version of the entire page contents that the user would see. 

    Does anyone know of a built-in function of Examine that can build excerpts from text content and a search term? If this is not possible, is there any easy way of coding this myself?

     

    Thanks.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies