1.System Requirements
- Tomcat 6.0.26 or higher
- JDK 1.6.0.23 or higher
- RAM - 3GB(minimum available)
- Processor - 2 GHz or higher
- Hard disk - The DocStore WAR file is about 50MB in size.
- The actual repository size depends on the volume of the documents to be added.
- The account/user under which Tomcat runs should have rwx access to the DocStore repository folder.
...
The following projects will be checked out.
- ole
- ole-cfg-dbs
- ole-common
- ole-dependencies
- ole-docstore -- Refer to it as DOCSTORE_PROJ
- ole-rice2
...
- ole
- ole-cfg-dbs
- ole-common
- ole-dependencies
- ole-docstore -- Refer to it as DOCSTORE_PROJ
- ole-rice2
3.Building the Code
- Open command prompt and go to the folder: %DOCSTORE_PROJ%
Run "mvn “mvn clean install"install”.
oledocstore.war file will be created in %DOCSTORE_PROJ%\ ole-docstore-webapp\target folder.
4.Deployment
4.1 Setting up properties
...
Save the file setenv.bat
4.2 Deploying the War file to Tomcat
- Copy oledocstore.war file from %DOCSTORE_PROJ%\ ole-docstore-webapp\target to %TOMCAT_HOME%\webapps folder
...
- http://localhost:8080/oledocstore
- http://localhost:8080/oledocstore/discovery.do
- http://localhost:8080/oledocstore/discovery
...
The following directory structure is created for DocumentStore and Discovery related configuration after the application is started.
...
DocumentStore
- \opt\docstore\properties
Discovery
- \opt\docstore\discovery\properties
- \opt\docstore\discovery\solr-config
If the application is not accessible, the following properties may need to be edited and Tomcat restarted.
- Open documentstore.properties file under \opt\docstore\properties and modify the port in the following property to match the Tomcat port. (Default is 8080)
...
docSearchURL=http://localhost:8080/oledocstore/
6.String Ingest
Refer to User Guide for details
Open a browser.
Go to URL http://localhost:8080/oledocstore/ and click on "Ingest “Ingest String Content" 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.Bulk Ingest
Refer to User Guide for details
...
Go to URL http://localhost:8080/oledocstore/admin.jsp
Click on 'BulkIngest' ‘BulkIngest’ button. Need to click only once.
To verify that the data is stored in DocumentStore, go to URL
http://localhost:8080/oledocstore
Click 'Refresh Summary' ‘Refresh Summary’ button in the Summary tab.
...
To verify that the data is indexed in DocStore, go to URL
http://localhost:8080/oledocstore/discovery
Click 'Refresh' ‘Refresh’ button in the Summary tab.
...
- ole.docstoreapp.url=http://localhost:8080/oledocstore/document
- ole.discovery.app.url=http://localhost:8080/oledocstore/discovery/
Copy the file 'olebibeditor‘olebibeditor.properties' properties’ provided along with this document in to your %USER_HOME% directory.
...
Open a browser.
Go to URL
http://localhost:8080/ole-local/portal.do?channelTitle=DocumentStoreSearch&channelUrl=discovery.do
Click on 'Search' ‘Search’ button.
Open documentstore.properties file under \opt\docstore\properties and modify the port in the following property to match the Tomcat port. (Default is 8080)
...