Copied to clipboard

Flag this post as spam?

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


  • viral 48 posts 69 karma points
    Nov 26, 2010 @ 21:00
    viral
    0

    .Net User controls in XSLT SEARCH?

    Hi,

    I am using XSLT Search for search contents. It is working fine for the body text of the page. But when i am displaying .Net user control on page by creating macro, search is not working. It just search only body contents of the page only. 

    Also Please if anyone can help me if i want to go from microsoft search express instead of XSLT, would be appreciated.

    Thanks.

  • viral 48 posts 69 karma points
    Nov 26, 2010 @ 21:02
    viral
    0

    All Replies will be appreciated.

     

    Thanks.

  • Douglas Robar 3570 posts 4671 karma points MVP 6x admin c-trib
    Nov 29, 2010 @ 17:43
    Douglas Robar
    0

    You can search within any the data of any Umbraco Document Type property by setting the searchFields="" macro parameter of the XSLTsearch macro. Full details in the PDF documentation are worth reading as there are important details about the order of those fields and how they effect the order of search results.

    I would guess that your .net macro may be aggregating the details of sub-pages on the site. If so, this forum thread will give you an idea how you might handle this without needing to modify XSLTsearch. http://our.umbraco.org/projects/website-utilities/xsltsearch/xsltsearch-bugs/14318-Search-results-linking-to-parent-page.

    As for implementing Microsoft Search Express, check out this somewhat old post from Kenny's blog: http://www.kenny.no/archive/2008/9/25/microsoft-search-server-express-2008-and-umbraco.aspx for inspiration. If you need more help with MS search express, please open a new forum post (not in the XSLTsearch project).

    Let us know how you get on with this.

    cheers,
    doug.

  • viral 48 posts 69 karma points
    Nov 29, 2010 @ 18:09
    viral
    0

    Thakns for your reply. Yes i did try that but it doesn't display search contents from my .net user control. It just displays the contents on the page. Don't know what to do next.

    From Kenny's blog, i don't get much inner details. And i would live to use Microsft search express for building search in umbraco.

    Thanks.

  • Douglas Robar 3570 posts 4671 karma points MVP 6x admin c-trib
    Nov 30, 2010 @ 10:36
    Douglas Robar
    0

    You are correct that XSLTsearch only searches content stored in Umbraco. If your .net control is working against Umbraco content you can configure XSLTsearch to find the same content. But if your .net control is pulling information from outside Umbraco then XSLTsearch won't be able to search for that data and you'll need to either use Examine and custom indexes or a crawling search engine like the Google Mini or MS Search Express.

    cheers,
    doug.

  • viral 48 posts 69 karma points
    Nov 30, 2010 @ 13:49
    viral
    0

    Do you know how do implement Google Mini search in umbraco?

  • Douglas Robar 3570 posts 4671 karma points MVP 6x admin c-trib
    Nov 30, 2010 @ 13:53
    Douglas Robar
    0

    Step 1 - buy a Google Mini

    Step 2 - configure Google Mini to index all the content you need to search

    Step 3 - create usercontrol macro to interface with Google Mini's api

    Step 4 - enjoy.

     

    cheers,
    doug.

  • viral 48 posts 69 karma points
    Nov 30, 2010 @ 13:55
    viral
    0

    Thanks !!! and what about Microsoft Search Express. Same procedure?

  • Douglas Robar 3570 posts 4671 karma points MVP 6x admin c-trib
    Nov 30, 2010 @ 13:58
    Douglas Robar
    0

    I've never implemented MS Search Express so can't say. Kenny's blog is the only source I've seen with an overview of what is needed so I'd start there.

    cheers,
    doug.

  • viral 48 posts 69 karma points
    Nov 30, 2010 @ 14:19
    viral
    0

    Thanks for your concern. My requirement is that need to publish my site with 2 to 3 pages in umbraco. And develope search using MS Search Express.

Please Sign in or register to post replies

Write your reply to:

Draft