Copied to clipboard

Flag this post as spam?

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


  • Tarunjit 103 posts 146 karma points
    Aug 27, 2015 @ 08:55
    Tarunjit
    0

    Content Search In Umbraco

    Hi All,

    We have our legacy ASP.Net to which we are now shifting to umbraco. In that site we are allowing users to search the results based on the keywords (e.g. names, places etc).

    As site will now shift to umbraco so from now on we want users to search specific page in our site using the page contents also.

    Here is our detailed requirement :-

    1. We wish to allow the user to search specific page in our site using the page contents.

    2. Also we have some specific data related to our existing search logic in our old site which allow users to search the results based on the keywords (e.g. names, places etc). This existing search is not based on the page contents.

    For doing above mentioned searches we will provide users some search bar (text box) using which users could perform search.

    Is there any specific feature which we can use in Umbraco to start using search using page contents? And also combine our existing search logic with that.

    Note :- Just for your information we will be using WebForm technique in Umbraco and not the MVC.

    Regards

    Tarunjit Singh

  • Samira 113 posts 452 karma points
    Aug 27, 2015 @ 09:51
    Samira
    0

    HI,

    You allow user to search the results based on the keyword, you search from database or google?

    Grazitti

  • Tarunjit 103 posts 146 karma points
    Aug 27, 2015 @ 10:14
    Tarunjit
    0

    Hi Grazitti,

    Thanks for the reply. We search the keywords in the data base.

    Regards

    Tarunjit Singh

  • Samira 113 posts 452 karma points
    Aug 27, 2015 @ 11:51
    Samira
    0

    Hi,

    For this you create custom search

    Firstly search from all node that you generated with document type on the page with (GetPropertyValue("aliasname"))

    After search you get nodeid for all data, after that search from unique keyword with node id

    Grazitti

  • Tarunjit 103 posts 146 karma points
    Aug 27, 2015 @ 11:57
    Tarunjit
    0

    Hi Grazitti,

    I am new to Umbraco not sure how to implement your suggestion. Can you please share code snippet for this?

    Also just for your information i have gone through some links and they suggest to use Examine dll to perform the search. here are some of the links

    http://code-desk.com/web-development/implementation-search-umbraco-using-examine.html

    https://our.umbraco.org/forum/developers/api-questions/46910-public-examine-member-search

    http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine.aspx

    Please suggest how to proceed.

    Regards

    Tarunjit Singh

Please Sign in or register to post replies

Write your reply to:

Draft