We need a way to set up a Solr test instance quickly and with a consistent state (same test documents ingested each time). In addition, the Solr instances we use must be configured to perform synonym expansion.
This PR should:
Include a setup script for existing Solr core that has been configured with our schema that automatically ingests a set of documents. ("There's a script for that!" TM)
Add more test documents (We could use more, however). These live in the setup directory along with the script.
Provide new schema.xml and solrconfig.xml and include it in the repo. This is in the setup directory.
New config files allow synonym expansion and index-time, and supports multi-term phrases. (#54)
Coverage remained the same at 95.455% when pulling 48c2ff30de9d2d1aec5082166ddd8d808c396b65 on ken-setup into d13e8aae686ee3e225fc5c9095a7865cd678ccc3 on develop.
Coverage remained the same at 95.455% when pulling 5aaef40dd250d407437d967644b842e686b39a55 on ken-setup into d13e8aae686ee3e225fc5c9095a7865cd678ccc3 on develop.
Coverage remained the same at 95.455% when pulling 5aaef40dd250d407437d967644b842e686b39a55 on ken-setup into d13e8aae686ee3e225fc5c9095a7865cd678ccc3 on develop.
We need a way to set up a Solr test instance quickly and with a consistent state (same test documents ingested each time). In addition, the Solr instances we use must be configured to perform synonym expansion.
This PR should:
setup
directory along with the script.schema.xml
andsolrconfig.xml
and include it in the repo. This is in thesetup
directory.Thanks @trojchanakasetchai for your help!