Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Smart search partial word View modes: 
User avatar
Member
Member
brien-anca - 4/26/2011 8:22:24 PM
   
Smart search partial word
Is there a way to get smart search to match a partial word.

eg: Search for: wheel

will find "this is the wheel you use ..."

and will also find "use a variety of wheels to ..."

User avatar
Kentico Support
Kentico Support
kentico_radekm - 5/2/2011 2:00:40 PM
   
RE:Smart search partial word
Hello.

You can use Wildcard searches and Fuzzy searches according to following article: http://lucene.apache.org/java/2_1_0/queryparsersyntax.html.

Hope it will help.

Best Regards,
Radek Macalik

User avatar
Member
Member
brien-anca - 5/2/2011 5:23:49 PM
   
RE:Smart search partial word
Wildcards don't seem to work. Eg: go to http://www.anca.com/Search and search for

pipe

All words.

Finds one page "MX7 Demonstrations Run Hot at GrindTec 2010"

Now search for

pipes

Finds a different page "RX7"

But, now search for pipe* or pi* and it finds nothing when it should find both those pages. Similar result for p?pe etc.

Also, the context text in the results is often missing or it doesn't display text related to the search term. Is there a way to control what is returned as the search result text?

eg: search for "grind"

User avatar
Kentico Support
Kentico Support
kentico_radekm - 5/23/2011 5:00:16 AM
   
RE:Smart search partial word
Hello.

What are properties of your Smart search result web part, please? Is "Search options" property set to "Full?" Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
brien-anca - 5/23/2011 5:03:44 PM
   
RE:Smart search partial word

I changed the search options to full. Search for pipe* now finds one page but not the other. Search for pip* finds no pages, so still not working properly

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 6/5/2011 1:04:13 AM
   
RE:Smart search partial word
Hi,

You mentioned that one page with word pipes was found using search word pipe* and the second one was not.

Could you please check if both pages are based on the same document type and the word pipes is inserted in the same field of the document, for example in some title field?

If not, could you please check if fields has the same search settings in the Site Manager - Development - Document types - Search fields?

Are both documents included in the same search index? Please take a look to the Site Manager - Administration - Smart search and check Path of appropriate index (if both pages are included in the path) and check Culture tab (if documents are from different cultures, both should be added).

If you make some changes, do not forget to Rebuild index.

Best regards,
Ivana Tomanickova