Copied to clipboard

Flag this post as spam?

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


  • asad 39 posts 113 karma points
    Mar 06, 2017 @ 08:04
    asad
    0

    Archtype search using EasySearch Package

    I am facing search issue.i used EaseSerach package.Which search normal content.But I am using Archtype for specific scenario and EaseSearch not serach Archtype content.Any help is appropriated.

    Thanks in advance.

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Mar 06, 2017 @ 08:25
    Alex Skrypnyk
    100

    Hi Asad

    The problem with search and Archetype is that you didn't index Archetype data, Archetype stores all data in JSON format and you have to write some code for adding real Archetype data to index. Look please on this article - https://github.com/kgiszewski/LearnUmbraco7/blob/master/Chapter%2009%20-%20Searching%20with%20Examine/01%20-%20Built-in%20Functionality.md

    Everything is described in that article, how to add Archetype data to Lucene index and how to show results.

    Ask if something not clear, hope it will help you.

    Thanks,

    Alex

  • asad 39 posts 113 karma points
    Mar 06, 2017 @ 17:29
    asad
    0

    Hi Alex,

    Thanks .I checked and its work.I have one concerned that we need to add if condition .And if our Archtype increase then we need to add more if conditions.Other then its work fine.

    Thanks for the help and Really Appreciate.

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Mar 06, 2017 @ 17:31
    Alex Skrypnyk
    0

    Glad that topic is solved, have a nice evening!!!

    /Alex

Please Sign in or register to post replies

Write your reply to:

Draft