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.

Related Links<br />

<strong>SAP</strong> <strong>HANA</strong> Modeling Views<br />

FUZZY Search [page 256]<br />

Fuzzy Search is a fast and fault-tolerant search feature for <strong>SAP</strong> <strong>HANA</strong>. A fuzzy search returns records even if<br />

the search term contains additional or missing characters or other types of spelling errors.<br />

11.3.6 Connecting Your Source Data<br />

You can connect any search-enabled <strong>SAP</strong> <strong>HANA</strong> attribute view to the app by referencing the view and its<br />

attributes directly in your HTML file.<br />

To reference the attribute view and its schema in the HTML, enter their names in the workarea widget:<br />

<br />

data-entityset is the view name. data-schema is the database schema (catalog) in which the activated<br />

attribute view resides. The data-aggregationdimension is used as basis for counting items with distinct<br />

values. Enter an attribute that has unique values, for example, the primary key.<br />

For chart facets that display the aggregates of attribute values, for example the grouped bar chart, enter the<br />

attribute names here:<br />

<br />

In the grouped bar chart example, data-dimension-line is the attribute whose distinct value count is to be<br />

displayed as the bars. The data-dimension-x attribute is displayed as an additional dimension inside the<br />

chart as a group of bars. data-dimension-y is the measurement that is displayed on the y-axis defining the<br />

height of the single bars. In the search app, the only measurement available is the distinct values count ($count)<br />

of the attribute defined in data-dimension-line.<br />

In a simple bar or pie chart, the data-dimension parameter contains the attribute whose distinct value count<br />

is to be displayed<br />

To define the attributes to be displayed in a result list entry, enter the attribute names here:<br />

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

Saved successfully!

Ooh no, something went wrong!