Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.47 KB

TECHNICAL_DETAILS.md

File metadata and controls

46 lines (28 loc) · 1.47 KB

Looking at DB:

So, connect to your smui_db via localhost:3306, with username root, and password password.

Rules Integration with Solr

Everytime you write out the rules.txt it is saved to the mounted volume ./volumes/preliveCore/conf/rules.txt

This same volume is mounted into the Solr container as /opt/mysolrhome/ecommerce/conf/querqy, and Solr reads it in from there.

The SMUI Push Config to Solr just writes the file out, and then reloads the Solr core, and then Solr reads in the new file. FTW!

Loading Data into Solr

curl 'http://localhost:8983/solr/ecommerce/update?commit=true' --data-binary @solr/products.json -H 'Content-type:application/json'

We created a custom update processor to deal with date formats via:

curl http://localhost:8983/solr/ecommerce/config -H 'Content-type:application/json' -d '
{                                                                               
  "add-updateprocessor" :
  {
    "name" : "formatDateUpdateProcessor",
    "class": "solr.ParseDateFieldUpdateProcessorFactory",
    "format":["yyyy-MM-dd"]
  }
}'

Setting up Quepid

Create a user with the email demo@example.com and the password password:

docker-compose run quepid thor user:create -a demo@example.com "Demo User" password

For Quepid case, pick name for title, and id for identifier. Add thumb:imageUrl to the list of fields.

Setting up RRE

docker-compose run rre mvn rre:evaluate

docker-compose run rre mvn rre-report:report