1.Getting the Source Code from SVN
- Check out the code for OLEole-Utility utility project from the following SVN Repository:
OLEole-Utilityutility -UTILITY_PROJ
- Check out the DocumentStore ole-docstore directory from the following SVN Repository:
Assume that the code is checked out into the following folders:
...
3.1 Setting up properties
Create the following directories in the same drive as %TOMCAT_HOME% directory.
- \opt\docstore\discovery\properties
- \opt\docstore\discovery\solr-config
- \opt\docstore\properties
...
- set OLE_DISCOVERY_HOME=\opt\docstore\discovery
- set OLE_DISCOVERY_PROP_HOME=%OLE_DISCOVERY_HOME%\properties
- set OLE_DISCOVERY_CONFIG_HOME=%OLE_DISCOVERY_HOME%\solr-config
- set OLE_DOCSTORE_HOME=\opt\docstore
- set OLE_DOCSTORE_PROP_HOME=%OLE_DOCSTORE_HOME%\properties
Set the following JAVA_OPTS as below.
(The entire text below should be in SINGLE LINE after your Discovery environment variables.)
after the line:set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1g -XX:MaxPermSize=256m |
...
local.docSearchURL=http://localhost:8080/oledocstore/
3.2 Deploying the War
...
file to Tomcat
- Copy oledocstore.war file from %DOCSTORE_WEBAPP_PROJ%target to %TOMCAT_HOME%\webapps folder
...
- http://localhost:8080/oledocstore
- http://localhost:8080/oledocstore/discovery.do
- http://localhost:8080/oledocstore/discovery
5.Ingest
Open a browser.
Go to URL [http://localhost:8080/oledocstore/discovery|http://localhost:8080/oledocstore/discovery] and click on "Ingest String Content" tab.
Copy the sample xml provided in the screen.
Click Submit button.
The response xml in the browser gives the result of the stream ingest process.
The data can also be verified using the URLs given in the previous section.
6.Bulk Ingest
Copy the following sample data files to the folder specified by the property local.batch.upload.dir (only this property) in the file %OLE_DISCOVERY_PROP_HOME%documentstore.properties. This property should be changed to a directory suitable to the local user's system. (e.g. /ole-test-data/bulkingest). Create this folder if it does not exist.
...
Note for the count for each DocType.
6.String Ingest
Open a browser.
Go to URL http://localhost:8080/oledocstore/discovery and click on "Ingest String Content" tab.
Copy the sample xml provided in the screen.
Click Submit button.
The response xml in the browser gives the result of the stream ingest process.
The data can also be verified using the URLs given in the previous section.
7.LOG Files
The log files will be written to the following locations by default.
...