28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The decision if two terms are equal is based on the term representation stored in the column dictionary.<br />

Therefore the spellCheckFactor option works differently on string and text columns, as described in the<br />

following sections.<br />

● B) The fuzzy search can return a 100% match for terms that are not identical but can't be differentiated by<br />

the fuzzy-string-compare algorithm.<br />

For example, fuzzy search can't differentiate between terms 'abaca' and 'acaba', for example. In this case, the<br />

spellCheckFactor can be used to avoid a score of 1.0.<br />

When A) and B) are not needed by an application, you can set the spellCheckFactor to 1.0 to disable the feature.<br />

Standardization of Letters and Terms<br />

All characters are replaced by a lowercase character without any diacritics before the fuzzy comparison takes<br />

place. This is called standardization. So it is possible to get a 100% match when comparing two unequal terms,<br />

because the standardization process returned two identical terms.<br />

Standardization Examples<br />

Original Letter Standardized Letter<br />

E e<br />

e e<br />

É e<br />

é e<br />

Ė e<br />

ė e<br />

The letter i is treated differently as it is not standardized to an ı as would be the 'standard' rule.<br />

Original Letter Standardized Letter<br />

I i<br />

İ i<br />

i i<br />

ı i<br />

German umlauts are replaced by two characters.<br />

Original Letter Standardized Letter<br />

Ä ae<br />

258<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Enabling Search

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!