Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Best tool for searching View modes: 
User avatar
Member
Member
peter.postma-kiwa - 9/28/2012 3:31:55 AM
   
Best tool for searching
Hello,

I have recently upgraded my website to Kentico 6. I see many options for adding a search bar in the website. Currently I am using SQL search, but my customers are complaining about it. So I would like to have some advise. Which search option should I use. Should it be the Google custom search, or the Smart search or something else.

Backgroundinformation: The website is only accessible for registered users. It contatians a knowledgebase of PDF reports (placed in the database with full text search index).

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 9/28/2012 6:58:53 AM
   
RE:Best tool for searching
Hello,

I would recommend you using the Smart Search definitely!

Take a look at the DevGuide for more informations: Smart Search Overview

Best regards,
Martin Danko

User avatar
Member
Member
peter.postma-kiwa - 9/28/2012 10:16:20 AM
   
RE:Best tool for searching
Thank you for your reply. However I have a problem.

I have enabled Smart Search and created an index. But I cannot add a Smart Search Results or Smart Search Dialog with Results webpart on a page. When I add one of both and press Ok in the properties dialog, the properties dialog does not close and the web part is not added. I can only close the dialog with Cancel.

I have tried it both in IE and Chrome, but it just doesn't work. What could be wrong?

User avatar
Member
Member
egarrison-wte - 9/28/2012 4:11:46 PM
   
RE:Best tool for searching
Check the index to make sure it has size that matches what you expect. Do this via Site Manager. The Smart Search is Lucene / Apache project and does take time to index. Depending on the number of pages and objects you are indexing, it could still be building. If it is using lots of resource on your server, it could be why you have the dialog issue.


User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/1/2012 3:24:57 AM
   
RE:Best tool for searching
Hi,

Do you still have a problem with the Smart Search Results?
Have you tried rebuilding your index? (As was written in the previous post, it can takes a time)

Best regards,
Martin Danko

User avatar
Member
Member
peter.postma-kiwa - 10/2/2012 8:50:15 AM
   
RE:Best tool for searching
Thanks guys, this helped. But I am not there yet. After rebuilding the index I get a little futher, but now it is complaining that the CMS.PagerTransformations do not exist. I have no clue what to do about that.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/4/2012 8:54:08 AM
   
RE:Best tool for searching
Hi,

could you please write me more details? Which WebPart are you currently using? You just have to set the correct transformation. CMS.PagerTransformations is the group of transformations and you need to specify the concrete one from the group (i.e. CMS.PagerTransformations.General-Pages).

Best regards,
Martin Danko

User avatar
Member
Member
peter.postma-kiwa - 10/4/2012 9:22:22 AM
   
RE:Best tool for searching
On a Page Menu Item I try to insert the web part "Smart search dialog with results". However, after pressing Ok or apply, I get the following problem: In the Pager design area I get for each item a red text saying:

Transformation of class name 'CMS.PagerTransformations.General-....' does not exist.

for instance, at the Pages item the message is:

Transformation of class name 'CMS.PagerTransformations.General-Pages' does not exist.


As a consequence, I can't insert the web part.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/5/2012 12:35:16 PM
   
RE:Best tool for searching
Hi,

could you please check which Transformations do you have in: CMSSiteManager -> Development -> Document types -> Pager transformations -> Edit -> Transformations field

You can't insert the WebPart because It looks like you don't have any transformation defined?

Best regards,
Martin Danko

User avatar
Member
Member
peter.postma-kiwa - 10/10/2012 9:16:03 AM
   
RE:Best tool for searching
At Document types there is no such thing as Pager transformations. Is this part of the Kentico installation, or do you have to add it yourself?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/11/2012 4:30:03 AM
   
RE:Best tool for searching
Hi,

these transformations will be created if you import corporate site. Unfortunately, if you have choosen the blank site during installation these transformations weren't created.
So I recommend you to use the corporate site and then you will be able to use a lot more default transformations.

I hope this will help you.

Best regards,
Martin Danko

User avatar
Member
Member
peter.postma-kiwa - 10/11/2012 9:13:46 AM
   
RE:Best tool for searching
kentico_martind2 wrote: So I recommend you to use the corporate site and then you will be able to use a lot more default transformations.

Martin,
Thank your for your kind help so far. However, the sugested solution is not an option for us, because this is an upgrade from our existing website. Is there some other way to import these transformations?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/11/2012 10:38:21 AM
   
RE:Best tool for searching
Hi,

In this case there are 2 options:

1. You can create a second site (corporate template), then export transformations and import them into your first sice, but let me note that transformations are related to Document types.

2. Also create a second site (corporate) and just copy and paste the transformations to your first site.

Best regards,
Martin Danko

User avatar
Member
Member
davids-kentico - 10/11/2012 11:16:24 AM
   
RE:Best tool for searching
Here is the default Pager transformations document type that comes with version 6. You can try to import it to your site. Only the document type is in the package, nothing else, so if you don't have a document type with the same name, you can safely import it.

https://docs.google.com/open?id=0B3jplAEv-6aYMFEydWNnZjFmdUU

Open the link, then click File -> Download.

Hope this helps resolve your pager problem.

User avatar
Member
Member
peter.postma-kiwa - 10/16/2012 2:22:33 AM
   
RE:Best tool for searching
Martin and David,

Thank you for your kind help. My Kentico supplier followed Martin's instructions and imported the coorperate pager transformations. However, it did not work right away. So for any-one who has the same trouble and is reading this, I had to do the following:
Go to Sitemanager - Development -Documenttypes.
- Edit the imported transformations on the General tab:
  - Rename the imported transformations to PagerTransformations
  - Set Document type code name - Namespace: CMS
  - Set Document type code name - document type: PagerTransformations
- Click the Transformations tab and look for transformations starting with: Pager
  - Rename these Transformations by replacing Pager with General in the name. For example: Pager-CurrentPage becomes General-CurrentPage
  - ATTENTION: There is one exception: Pager-Layout should become General-PagerLayout

After this I could use the Smartsearch Dialog with Results webpart.