Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

christopwner/emodb-client-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmoDBClient

Sample Java client of EmoDB using Solr for indexing

Created docker image for use with this example.

Run docker using:

docker run --name emodb -d -p 8080:8080 -p 8081:8081 christopwner/emodb

Also relies on Solr. Run with docker:

docker run --name solr -d -p 8983:8983 -t solr

docker exec -it --user=solr solr bin/solr create_core -c emodb

Will also require addition configuration of Solr for setting our own version constraints on update by adding the following to the UpdateRequestProcessorChain:

<processor class="solr.DocBasedVersionConstraintsProcessorFactory">
  <str name="versionField">emodb_version</str>
</processor>

Will need to update container and install text editor of choice but config can be accessed by:

docker exec -it --user=solr solr /bin/nano server/solr/emodb/conf/solrconfig.xml

About

Sample Java client of EmoDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages