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 .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.
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.
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
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.
Glad that topic is solved, have a nice evening!!!
/Alex
is working on a reply...