Custom Smart Search

paul carter asked on September 5, 2019 11:10

Hi,

I am currently in the process of attempting to create a custom smart search using the page crawler. I understand the general concept and have created a test searching local files. I now want to look at searching external sites outside of kentico, not kentico instances, and was wondering where i could find documentation of the various setup parameters required in my code for attaching to a site.

Recent Answers


Brenden Kehren answered on September 5, 2019 14:53

I'd highly recommend using Azure Search for this. You use Azure search as your main datahub which stores your searchable data. Then once you push your data there (pretty simple in Kentico v11 and newer) from Kentico and your other sites, you can simply make some api calls to seach the aggregated data and display on your site(s).

There are serveral articles on it.

And others specifically on integration.

More importantly, the Kentico Azure Search documentation.

0 votesVote for this answer Mark as a Correct answer

paul carter answered on September 5, 2019 14:57 (last edited on September 5, 2019 15:06)

We are currently working on Kentico 10 prior to upgrading to version 12 later in the year. Do you know if 10 would support this capability? also i was under the impression that with the lucene libraries this would be quite achievable. i am just struggling finding any documentation on the kentico wrapper parameters required. I would rather implement this solution if possible as it just adds further costs to something i was under the impression could be achieved.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 5, 2019 15:12

In v10, you'd have to build the intereface to send the data to Azure. Whereas in v11+ it has that already built in for you. So while v10 will support it, you have to build it.

0 votesVote for this answer Mark as a Correct answer

paul carter answered on September 5, 2019 15:21

So back to my original question, I was under the impression this could be achieved using the Custom Smart Search coding, as i have created one that searches text files locally, i was told by support that this could be achieved using Custom Smart Search and the Web crawler. Just struggling finding any documentation on the parameters i.e. SearchDocumentParameters, and the structure of these parameters.

Kind Regards

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 5, 2019 15:27

Not sure if this is the documentation you've looked at already but this has information on building custom search indexes.

0 votesVote for this answer Mark as a Correct answer

paul carter answered on September 5, 2019 15:42

Yes thank you, seen all this, but still the documentation is lacking information on the syntax of the parameter structure, unless i,m missing something ? a small example would be useful. Their also is confusion between the standard Smart Search which has these features but only works on Kentico Instances ?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 5, 2019 15:46

Which parameters specifically are you talking about? The API documentation has information on all the classes, methods and properties.

0 votesVote for this answer Mark as a Correct answer

paul carter answered on September 5, 2019 15:58

So for instance i am assuming that in the SearchDocumentParameters you have attributes such as Index, Type etc I would assume that this is where you also set up the link to the Site you are trying to browse , as there is a Parameter called SiteName, but no explanation of how this is built up. I have also read in my many trawling s about Possible User and Password Parameters, Again their is a great deal of overlap between the general smart search parameters in the Portal engine and the Custom Search. Must say, getting totally confused. I have even spent a great deal of time on the Lucene site as Kentico uses the library, trying to understand the correct mappings....

Best Regards

0 votesVote for this answer Mark as a Correct answer

paul carter answered on September 9, 2019 09:56

Has anyone any idea of the scenario required to perform a custom smart search on an external web site. Documentation is vary limited, any help or pointers in the right direction would be greatly appreciated.

Best Regards

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.