+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Issue in Search box

Issue in Search box

4 posts, 0 answered
  1. Nimit
    Nimit avatar
    90 posts
    Registered:
    27 Mar 2009
    11 Mar 2010
    Link to this post
    Hi,
    How are you.
    I need a little help in the Search control.
    In my website I I had a search index that is search every page and it has created a XML file and an Index file in the App_Data/Search.
    I need to know the following thing.

    1.) In my web site if  I search for a word like "container", it is showing me the pages where there is no container word in the content but when you view the source of the page and find the word container, you'll see the container word is in title of an anchor tag or page name so on..

    2.) In XML search file does the "weight" attribute means the priority of the item to be shown, if so then what does "weight=-1" means.

    I hope everything is clear what I am saying.
    Please reply ASAP.

    Regards,
    Nimit verma.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    11 Mar 2010
    Link to this post
    Hi Nimit,

    1. The crawler gets the HTML of a page this is why some elements could be added to the index segments.

    2. When weight is set to -1 then the attribute is not added to the search results. You can gather more information at How to customize the indexing of html documents

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Nimit
    Nimit avatar
    90 posts
    Registered:
    27 Mar 2009
    11 Mar 2010
    Link to this post
    Hi Ivan,
    Thanks for the reply.
    Now I added couple of new entries in XML file saying not to look into some divs with a particular IDs.
    But when I find something it is giving me results and in the description of the results it simply adds up everything thing on that page which is found in the result, I mean to say it shows Menu labels, Bread crumb. etc,. in the description.
    I have no clue whats going on.

    regards,
    Nimit Verma.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    14 Mar 2010
    Link to this post
    Hello Nimit,

    Try to recreating the index from the backend UI.I am not able to reproduce any of the problems you are describing.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
4 posts, 0 answered