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

Forums / Developing with Sitefinity / Search generic content data

Search generic content data

8 posts, 0 answered
  1. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    23 Nov 2009
    Link to this post

    Hi!

    On my site I have a page with content view control and it works fine but when I'm trying to search something from dynamic page(for example main page with content view: www.site.com/en/MainPage.aspx, and dynamicly created pages: www.site.com/en/MainPage/5b1af2ad-84eb-4b49-afff-604f77855041.aspx or www.site.com/en/MainPage/09893cb5-787b-48bb-aab6-3d31250266dd.aspx) I have null results. How can I index this pages? Or this function doesn't include in Sitefinity? 

    Thank you.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    23 Nov 2009
    Link to this post
    Hi Paul,

    As far as I see it "www.site.com/en/MainPage/5b1af2ad-84eb-4b49-afff-604f77855041.aspx" is a single content item url where the urlRewriteFormat has been changed to ID. Generally Sitefinity crawler will looks for the html of MainPage.aspx - so all generic content titles should be added to the index. If you search for a content that is on details view you should see that the dynamic page is added to the index.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    23 Nov 2009
    Link to this post
    Hi Ivan!
    Yes. I search for a content that is on details view. How can I enable this feature?  What does this mean "the dynamic page is added to the index"? 

    Also I want to know another thing about Sitefinity search: can I search through document content in document libraries? In DOC and PDF files?
    Thank you.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    23 Nov 2009
    Link to this post
    Hello Paul,

    The crawler gets all words that you have on details page. This is by design and you do not have to enable anything. Also when you edit and save a new content the crawler automatically index all words.

    "What does this mean "the dynamic page is added to the index"?"
    The crawler gets all pages no matter they are ICmsPages or dynamic urls of IContent objects.

    PDF and documents is not supported by default, but you can create a custom provider that will return the names your documents. Releated links - PDF Searching, PDF / DOC Search Indexing

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    23 Nov 2009
    Link to this post
    Hello Ivan!
    I didn't understand how I can get in search results content details. I have a main page with content view and also I have dynamicly created pages with content details. What should I do for getting this pages in search results? Now i haven't this results in the full site index.
    As I understand from topics about pdf/doc search - provider doesn't work correctly with other providers. Maybe you can tell me when SF4.0 will release?
    Thank you.
  6. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    24 Nov 2009
    Link to this post
    Hi Paul,

    I think there is misunderstanding the thread went to a wrong way.
    The PageIndexer indexes only the pages that are in the sitemap. It starts from the node you have chosen, or from the root node, and iterates through all of them, except if the page is marked as such that should not be indexed. The PageIndexer does not follow the links on the page, so when it comes to the page with the ContentView, it fetches only the information currently presented on the page. Having all that said, the PageIndexer is not aware of the dynamic links.
    The solution here is to implement a new indexer, and supply it with the list of dynamic urls that it should execute and index the result. We do the same with the PageIndex - just supply a list of the URLs to it. There are some examples in our forums that are showing this.

    Sincerely yours,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    24 Nov 2009
    Link to this post

    Hi Georgi!

    Thanks for the answer. Other quick solution that I see in this situation is using Google API for integration to my site as main search engine. As I see from Google results it searches all over the site and documents.

    What do you think about this solution?

    When will Sitefinity 4.0 come(if it is not a secret)? 

  8. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    24 Nov 2009
    Link to this post
    Hello Paul,

    Yes, this sounds as a solution as well. It will work because the Google Bot will actually spiders through any links that finds on the web site - this is the reason why it will reach the dynamic urls and the documents as well.
    Sitefinity 4.0 will come between Q1 and Q2 2010, but the first beta should appear soon. We do not have a exact estimate for it.

    Sincerely yours,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
8 posts, 0 answered