This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
install:upgrading:home [2011/04/05 20:59] admin |
install:upgrading:home [2012/10/26 14:51] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{page>:top_add&nofooter&noeditbtn}} | {{page>:top_add&nofooter&noeditbtn}} | ||
| - | ====== Upgrading from previous versions ====== | + | ====== Omnidex Upgrading from Previous Releases ====== |
| - | ===== Upgrading from Version 5.1 to 5.2 ===== | + | ===== Reasons to Upgrade from 4.x to 5.x ===== |
| - | Although 5.2 has not yet been released, there are a few items that are known changes from 5.1 to 5.2 that are worth knowing during 5.2 development. | + | |
| - | The following is a list of items these known changes between Omnidex 5.1 and 5.2. | + | There are several good reasons to upgrade from an Omnidex version 4.x installation to a 5.x installation. |
| - | === Connection strings have changed === | + | * Faster Omnidex Index build times due to the merging of MDK and ASK indexes. |
| + | * Easier to maintain Omnidex Grid Environments with Grid aware Explain Plans | ||
| + | * Easier Omnidex Environment setup and maintenance using the Omnidex Data Defintion Language and OdxSQL. | ||
| + | * Improvements in the Sample and Random selection of records. | ||
| + | * Automatically de-dup records on selection. | ||
| + | * Cached Qualifications to improved the speed of drill down counts. | ||
| + | * PowerSearch for synonyms, miss-spellings, transpositions, plurality, etc. | ||
| + | * Autocomplete suggestions of words as they are being typed. | ||
| - | In 5.1, a PHP connection string with Username and Password would be as follows: | + | ===== Reasons to stay on 4.x ===== |
| - | <code> | + | * NsAdmin is no longer supported and the replacement interface is not available in the Omnidex 5.1 version. |
| - | $conn = odbc_connect("DRIVER={DISC OMNIDEX OdxNet Driver}; | + | |
| - | ENV=[localhost:7555]c:\\xavit\\xavit_mysql.xml","xavit_user","xavit_pass"); | + | |
| - | </code> | + | |
| - | In 5.2, a PHP connection string to do the same thing would be as follows: | + | |
| - | <code> | + | ===== Upgrading from previous Omnidex versions ===== |
| - | $conn = odbc_connect(‘{DRIVER=Omnidex};ConnectionString= | + | |
| - | [localhost:7555]c:\\xavit\\xavit_mysql.xml;uid=xavit_user;pwd=xavit_pass’,’’,’’); | + | |
| - | </code> | + | |
| - | === C STRING data type is now STRING === | + | The best way to currently review all the upgrade notes is to start at the older releases and read through to the newer releases. Even if you are already on 5.0, you should review the upgrade notes on going from 4.x to 5.0 to see all the changes to the Omnidex product. |
| - | The C STRING data type has been renamed to STRING in 5.2. C STRING is still supported as a synonym and will continue to work in the legacy Environment Catalogs as well as in the new Omnidex Data Definition Language (DDL) syntax. However, it may be removed in future versions so all new Omnidex Environments should use the STRING syntax when referring to Character columns that can be NULL terminated for faster internal Omnidex processing. | ||
| - | === RegMaint and SysInfo functionality included in OdxSQL === | + | [[install:upgrading:v4x_to_v50 | Upgrading Versions 4.x to 5.0 ]] |
| - | As part of DISC's continuing efforts to simplify the Omnidex product, the licensing functionality in the sysinfo and regmaint programs has been moved to the OdxSQL program. | + | [[install:upgrading:50_to_v51 | Upgrading Versions 5.0 to 5.1 ]] |
| - | === TDF is now ... === | ||
| - | === Omnidex ODBC driver name change === | ||
| - | The Omnidex ODBC driver has been renamed as of the 5.2 release which can impact existing Microsoft Machine DataSources which are referred to as System and User data sources in the Data Sources Administrator. | ||
| - | The existing name is Omnidex ODBC Driver for OdxNet. | + | ==== Correct Steps to convert existing oacomp Environment to DDL based XML Environment ==== |
| + | * Modify 4.x environment source to test environment locations (table physical, database index_prefix, etc.) | ||
| - | The new name is Omnidex. | + | * Compile environment source using oacomp 5.1 |
| - | DISC provides a program called odbcreg that can register the Omnidex ODBC driver under the supported Windows Operating Systems. | + | * Run dbinstal install only (no build) script |
| - | As of 5.2, this program has the option to register the old name as well as the new ODBC Driver name so that each datasource does not have to be converted. | + | * Run OdxSQL and do the following steps (assume current.env) |
| + | * Use Odxsql connect to .env environment | ||
| - | ===== Upgrading from Versions 5.0 to 5.1 ===== | + | os> odxsql current.env |
| - | === Connection strings supported but changing in 5.2 === | + | * Use OdxSQL to extract the new DDL from the current.env. This will include both the metadata from the Environment Catalog and the Omnidex indexing information. |
| - | ===== Upgrading from Versions 4.x to 5.0 ===== | + | odxsql> extract DDL to myddl.sql |
| - | === OdxAdmin's release has been delayed === | + | * Compile the extracted DDL to create a new Omnidex Environment with the XML format. |
| - | DISC is developing a Windows based front end to administer Omnidex in a multi-server environment. However, due to other customer driven priorities, the Omnidex Administrator is not available in either 5.0. | + | |
| + | odxsql> use myddl.sql | ||
| - | OdxAdmin will incorporate the NsAdmin and DsEdit functionality once it is released. | + | * Connect to XML environment |
| - | === NsAdmin no longer supported === | + | odxsql> connect myddl.xml |
| - | === DsEdit no longer supported === | + | * Build the new indexes |
| - | DsEdit is no longer supported as of Omnidex version 5.0. | + | odxsql> update indexes |
| + | |||
| - | DsEdit had the following features: | ||
| - | ^ Current Feature ^ Replacement ^ | ||
| - | |Create ODBC File data sources | copy from documentation and edit with editor| | ||
| - | | Create ODBC System and User data sources | use Control Panel, Data Source Adminstrator | | ||
| - | | Create JDBC data sources | use connection strings and test with OdxSql -JDBC option | | ||
| - | | Test connections | use OdxSQL with -odbc and -jdbc option to test connections | | ||
| - | | Perform simple test queries | use OdxSql with -odbc and -jdbc option to test queries | | ||
| - | === Oracle and SQLServer Stored Procedure interfaces no longer documented === | ||
| - | === Switching between two versions === | ||
| - | |||
| - | PATH | ||
| - | CLASSPATH | ||
| - | OMNIDEX_HOME | ||
| - | |||
| - | cmd> odbcreg -i "program files\omnidex 5.1\bin" | ||
| - | |||
| - | cmd> odbcreg -i "program files\omnidex 4.4\bin" | ||
| - | |||
| - | |||
| - | ===== ===== | ||
| - | |||
| - | **[[prev|Prev]]** | **[[next|Next]]** | ||
| ====== Additional Resources ====== | ====== Additional Resources ====== | ||