Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Searching content View modes: 
User avatar
Kentico MVP
Kentico MVP
bmckeiver-bizstream - 1/15/2010 9:32:28 AM
   
Searching content
I know I must be missing something. But I can not get the Search nor Smart Search search box to do a wild card search without manually typing in a * at the end of my query.

I have a few pages (that happen to be products) That are named PV123, PV234, ...

When I search by typing in "PV" no results are returned.

When I search by typing in "PV*" all the results are returned correctly.

Ive checked out the Query's in the Root document type and they all seem to be correctly wrapped with '%' + Expression +'%' but it doesn't work.

Any tips to get wild card / partial word searching to work ?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/18/2010 7:10:13 AM
   
RE:Searching content
Hi,

It depends also on the analyzer which is used for the smart search index. This behavior is correct since you are searching for "PV" word and it is different from "PV123". Therefore you need to use "*". We plan in the future to add support for any analyzer which works with Lucene.Net, so also the variations of words will be searched.

Best Regards,
Juraj Ondrus