What´s New? SAP HANA SPS 07
Fulltext Search
(Delta from SPS 06 to SPS 07)
SAP HANA Product Management

November, 2013
Scope
The scope of the extended development topic “SAP HANA Fulltext Search” covers
Fulltext indexing
Search models
Fulltext search via SQL
SAP HANA Info Access (InA)
– SAP HANA Info Access (InA) toolkit for HTML5
– Simple Info Access (SInA) API for JavaScript

Related topics
Fuzzy Search
– Search Rule Sets
Text Analysis

© 2013 SAP AG. All rights reserved.

Public

2
Agenda
What’s new? SAP HANA SPS 07
Improved capabilities
New capabilities

SAP HANA SPS 07 Fulltext Search Architecture

© 2013 SAP AG. All rights reserved.

Public

3
Fulltext Search
What’s new? SAP HANA SPS 07 – Fulltext Search
Improved Capabilities
Enhancements to the datatype TEXT and SHORTTEXT
datatype TEXT/SHORTTEXT now provides the same search functionality as an “explicit” fulltext
index, yet consumes substantially less memory compared to a NVARCHAR column + FULLTEXT
INDEX for example
 asynchronous processing
 optional Text Analysis

Fulltext indexing performance, up to 60% faster
Additional options for FULLTEXT INDEX, e.g. specify list of token separators, change language
detection settings
Fulltext search performance
 especially for fuzzy search and phrase search with patterns, e.g. “poly* extrusion”

© 2013 SAP AG. All rights reserved.

Public

5
What’s new? SAP HANA SPS 07 – Fulltext Search
New Capabilities
Datatype BINTEXT
datatype BINTEXT provides the same search functionality as an “explicit” fulltext index, yet
consumes substantially less memory compared to a BLOB column + FULLTEXT INDEX
 file filtering, converting binary file formats like .pdf to plain text
 optional Text Analysis

NEAR operator for fulltext search
New operator to find documents where search terms appear within a specified window of n words
Example SELECT * FROM myDocuments WHERE CONTAINS (documentText, NEAR ((polymer,
extrusion), 5);

Enhancements of the SAP HANA Info Access (InA) toolkit for HTML5
Leverage SNIPPETS/HIGHLIGHTED in InA toolkit UI

© 2013 SAP AG. All rights reserved.

Public

6
SAP HANA SPS 07 – Fulltext Search Architecture
HANA Search UI

HANA App

Search UI configured
with the Info Access
(InA) toolkit for HTML5
running natively on
SAP HANA

Custom application
leveraging SAP
HANA search
capabilities

HANA App
built with
SAP UI5

Apps on HANA

Info Access
(InA) Service

SAP HANA Info Access
(InA) toolkit,
SInA API for JavaScript

SQL, MDX

Application running
natively on / against
SAP HANA

Applications on any
platform using SQL
via ODBC/JDBC

Fulltext Search via SQL

server-side
JS, OData
Extended Application Services

Modeler,
Dev.
Workbench

Search
Engine
Model

Engines
Linguistic
Processing

Tables
SAP HANA Studio

Metadata

Search Models,
Search Rule Sets

Analytic
Engine

Store

Entity, Fact
Extraction

Fulltext Indexing, Text
Analysis

Preprocessor

SAP HANA
© 2013 SAP AG. All rights reserved.

Public

7
SAP HANA Simple Info Access (SInA) API for JavaScript
Browser

HANA App
Custom application leveraging SAP HANA search capabilities

HTML5 Application
JavaScript API

JavaScript API

SInA API for
JavaScript

SAP UI5

http

server-side
Javascript, OData

InA service

Internal API

Extended
Application
Services

SQL

Models
Tables

Database

SAP HANA
© 2013 SAP AG. All rights reserved.

Public

8
Disclaimer
This presentation outlines our general product direction and should not be relied on in making
a purchase decision. This presentation is not subject to your license agreement or any other
agreement with SAP.
SAP has no obligation to pursue any course of business outlined in this presentation or to
develop or release any functionality mentioned in this presentation. This presentation and
SAP’s strategy and possible future developments are subject to change and may be changed
by SAP at any time for any reason without notice.
This document is provided without a warranty of any kind, either express or implied, including
but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or
non-infringement. SAP assumes no responsibility for errors or omissions in this document,
except if such damages were caused by SAP intentionally or grossly negligent.

© 2013 SAP AG. All rights reserved.

Public

9
Thank you
Contact information
Markus Fath
SAP HANA Product Management
AskSAPHANA@sap.com
To get the best overview of what’s new in SAP HANA SPS 07, read this blog.
© 2013 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and
SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in
the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other
countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

© 2013 SAP AG. All rights reserved.

Public

11
© 2013 SAP AG. Alle Rechte vorbehalten.
Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche
Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden.
Einige der von der SAP AG und ihren Distributoren vermarkteten Softwareprodukte enthalten proprietäre Softwarekomponenten anderer Softwareanbieter.
Produkte können länderspezifische Unterschiede aufweisen.
Die vorliegenden Unterlagen werden von der SAP AG und ihren Konzernunternehmen („SAP-Konzern“) bereitgestellt und dienen ausschließlich zu Informationszwecken.
Der SAP-Konzern übernimmt keinerlei Haftung oder Gewährleistung für Fehler oder Unvollständigkeiten in dieser Publikation. Der SAP-Konzern steht lediglich für Produkte
und Dienstleistungen nach der Maßgabe ein, die in der Vereinbarung über die jeweiligen Produkte und Dienstleistungen ausdrücklich geregelt ist. Keine der hierin
enthaltenen Informationen ist als zusätzliche Garantie zu interpretieren.
SAP und andere in diesem Dokument erwähnte Produkte und Dienstleistungen von SAP sowie die dazugehörigen Logos sind Marken oder eingetragene Marken der SAP
AG in Deutschland und verschiedenen anderen Ländern weltweit. Weitere Hinweise und Informationen zum Markenrecht finden Sie unter http://www.sap.com/corporateen/legal/copyright/index.epx#trademark.

© 2013 SAP AG. All rights reserved.

Public

12

HANA SPS07 Fulltext Search

  • 1.
    What´s New? SAPHANA SPS 07 Fulltext Search (Delta from SPS 06 to SPS 07) SAP HANA Product Management November, 2013
  • 2.
    Scope The scope ofthe extended development topic “SAP HANA Fulltext Search” covers Fulltext indexing Search models Fulltext search via SQL SAP HANA Info Access (InA) – SAP HANA Info Access (InA) toolkit for HTML5 – Simple Info Access (SInA) API for JavaScript Related topics Fuzzy Search – Search Rule Sets Text Analysis © 2013 SAP AG. All rights reserved. Public 2
  • 3.
    Agenda What’s new? SAPHANA SPS 07 Improved capabilities New capabilities SAP HANA SPS 07 Fulltext Search Architecture © 2013 SAP AG. All rights reserved. Public 3
  • 4.
  • 5.
    What’s new? SAPHANA SPS 07 – Fulltext Search Improved Capabilities Enhancements to the datatype TEXT and SHORTTEXT datatype TEXT/SHORTTEXT now provides the same search functionality as an “explicit” fulltext index, yet consumes substantially less memory compared to a NVARCHAR column + FULLTEXT INDEX for example  asynchronous processing  optional Text Analysis Fulltext indexing performance, up to 60% faster Additional options for FULLTEXT INDEX, e.g. specify list of token separators, change language detection settings Fulltext search performance  especially for fuzzy search and phrase search with patterns, e.g. “poly* extrusion” © 2013 SAP AG. All rights reserved. Public 5
  • 6.
    What’s new? SAPHANA SPS 07 – Fulltext Search New Capabilities Datatype BINTEXT datatype BINTEXT provides the same search functionality as an “explicit” fulltext index, yet consumes substantially less memory compared to a BLOB column + FULLTEXT INDEX  file filtering, converting binary file formats like .pdf to plain text  optional Text Analysis NEAR operator for fulltext search New operator to find documents where search terms appear within a specified window of n words Example SELECT * FROM myDocuments WHERE CONTAINS (documentText, NEAR ((polymer, extrusion), 5); Enhancements of the SAP HANA Info Access (InA) toolkit for HTML5 Leverage SNIPPETS/HIGHLIGHTED in InA toolkit UI © 2013 SAP AG. All rights reserved. Public 6
  • 7.
    SAP HANA SPS07 – Fulltext Search Architecture HANA Search UI HANA App Search UI configured with the Info Access (InA) toolkit for HTML5 running natively on SAP HANA Custom application leveraging SAP HANA search capabilities HANA App built with SAP UI5 Apps on HANA Info Access (InA) Service SAP HANA Info Access (InA) toolkit, SInA API for JavaScript SQL, MDX Application running natively on / against SAP HANA Applications on any platform using SQL via ODBC/JDBC Fulltext Search via SQL server-side JS, OData Extended Application Services Modeler, Dev. Workbench Search Engine Model Engines Linguistic Processing Tables SAP HANA Studio Metadata Search Models, Search Rule Sets Analytic Engine Store Entity, Fact Extraction Fulltext Indexing, Text Analysis Preprocessor SAP HANA © 2013 SAP AG. All rights reserved. Public 7
  • 8.
    SAP HANA SimpleInfo Access (SInA) API for JavaScript Browser HANA App Custom application leveraging SAP HANA search capabilities HTML5 Application JavaScript API JavaScript API SInA API for JavaScript SAP UI5 http server-side Javascript, OData InA service Internal API Extended Application Services SQL Models Tables Database SAP HANA © 2013 SAP AG. All rights reserved. Public 8
  • 9.
    Disclaimer This presentation outlinesour general product direction and should not be relied on in making a purchase decision. This presentation is not subject to your license agreement or any other agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to develop or release any functionality mentioned in this presentation. This presentation and SAP’s strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this document, except if such damages were caused by SAP intentionally or grossly negligent. © 2013 SAP AG. All rights reserved. Public 9
  • 10.
    Thank you Contact information MarkusFath SAP HANA Product Management AskSAPHANA@sap.com To get the best overview of what’s new in SAP HANA SPS 07, read this blog.
  • 11.
    © 2013 SAPAG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices. © 2013 SAP AG. All rights reserved. Public 11
  • 12.
    © 2013 SAPAG. Alle Rechte vorbehalten. Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden. Einige der von der SAP AG und ihren Distributoren vermarkteten Softwareprodukte enthalten proprietäre Softwarekomponenten anderer Softwareanbieter. Produkte können länderspezifische Unterschiede aufweisen. Die vorliegenden Unterlagen werden von der SAP AG und ihren Konzernunternehmen („SAP-Konzern“) bereitgestellt und dienen ausschließlich zu Informationszwecken. Der SAP-Konzern übernimmt keinerlei Haftung oder Gewährleistung für Fehler oder Unvollständigkeiten in dieser Publikation. Der SAP-Konzern steht lediglich für Produkte und Dienstleistungen nach der Maßgabe ein, die in der Vereinbarung über die jeweiligen Produkte und Dienstleistungen ausdrücklich geregelt ist. Keine der hierin enthaltenen Informationen ist als zusätzliche Garantie zu interpretieren. SAP und andere in diesem Dokument erwähnte Produkte und Dienstleistungen von SAP sowie die dazugehörigen Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und verschiedenen anderen Ländern weltweit. Weitere Hinweise und Informationen zum Markenrecht finden Sie unter http://www.sap.com/corporateen/legal/copyright/index.epx#trademark. © 2013 SAP AG. All rights reserved. Public 12