Skip to content

A simple ui5 app to upload documents to SAP HANA to demo its text mining and analysis features.

License

Notifications You must be signed in to change notification settings

just-bi/hana-ui5-text-analysis-upload-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hana-ui5-text-analysis-upload-demo

A simple ui5 app to upload documents to SAP HANA to demo its text mining and analysis features.

Overview of the UI5 Upload Demo App for exploring SAP HANA Text Analysis

Background and Overview

There is a series of blog posts available that explains the background of this demo application, some of the design considerations, and some information concerning implementation details:

SAP HANA 1.0 - Installation

  • Create a package with your favorite IDE for SAP HANA (Web IDE, SAP HANA Studio, Eclipse with SAP HANA Developer Tools)
  • Download an archive of this repository
  • Unzip the archive and transfer its contents to the HANA package you just created.
    • If you're using the SAP HANA Web IDE, you might be able to import the .zip directy.
    • If you're using SAP HANA Studio or Eclipse with SAP HANA Developer tools, you can right click on the your package and choose checkout. The package will the be available as a folder on your local file system, and you can simply copy the contents of the archive into that folder. The local folder that corresponds to the root of your repository is visible in the repository tab from the HANA Developer Perspective. The path of the folder corresponds to the path of the repository package. In Eclipse, you will need to right click your package and choose "Refresh" so the files will show up there too.
  • With db/CT_FILE.hdbdd:
    • update the namespace, update the package identifier from "system-local"."public"."rbouman"."ta" to the name of the package you just created.
    • modify the @Schema from 'RBOUMAN' to whatever schema you want to use. (Create a schema yourself if you don't already have one)
    • Activate db/CT_FILE.hdbdd. In the database catalog, you should now have this table. Hana should have created a corresponding $TA_ table as well.
  • With service/ta.xsodata:
    • In the first entity definition, update the table repository object identifier "system-local.public.rbouman.ta.db::CT_FILE" so it matches the location of the table on your system.
    • In the second entity definition, update the catalog table identifier from "RBOUMAN"."$TA_system-local.public.rbouman.ta.db::CT_FILE.FT_IDX_CT_FILE" so it matches the database schema and catalog table name on your system.
    • Activate service/ta.xsodata.
  • You can now activate the package you created to activate all remaining objects, such as the .xsapp and .xsaccess files, as well as the web subpackage and all its contents

Running the Application

After installation, you should be able to open the web application. You can do this by navigating to:

http://yourhanahost:yourxsport/path/to/your/package/web/index.html

where:

  • yourhanahost is the hostname or IP address of your SAP HANA system
  • yourxsport is the port where your HANA's xs engine is running. Typically this is 80 followed by your HANA instance number.
  • path/to/your/package is the name of the package where you installed the app, but using slashes (/) instead of dots (.) as the separator character.

About

A simple ui5 app to upload documents to SAP HANA to demo its text mining and analysis features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published