├── Changes.txt ├── README.md ├── ch03 ├── atomic-update.json ├── csv-sample.csv ├── delete.json ├── json-sample.json ├── managed-schema │ └── solrbook_schema.json ├── sample_data │ ├── atomic-update.json │ ├── csv-sample.csv │ ├── delete.json │ ├── json-sample.json │ ├── tsv-sample.tsv │ ├── update.json │ └── xml-sample.xml ├── schema_xml │ ├── schema.xml │ └── solrconfig.xml ├── tsv-sample.tsv ├── update.json └── xml-sample.xml ├── ch05 ├── langid │ ├── add_dynamic_fields.sh │ ├── add_field.sh │ └── data.json ├── regrep │ └── data.json └── script │ └── data.json ├── ch06 ├── facet │ └── data.json ├── group │ └── data.json ├── spatial │ └── data.json └── suggest │ └── data.json ├── ch08 ├── solr │ └── server │ │ └── solr │ │ ├── README.txt │ │ ├── configsets │ │ ├── basic_configs │ │ │ └── conf │ │ │ │ ├── currency.xml │ │ │ │ ├── elevate.xml │ │ │ │ ├── lang │ │ │ │ ├── contractions_ca.txt │ │ │ │ ├── contractions_fr.txt │ │ │ │ ├── contractions_ga.txt │ │ │ │ ├── contractions_it.txt │ │ │ │ ├── hyphenations_ga.txt │ │ │ │ ├── stemdict_nl.txt │ │ │ │ ├── stoptags_ja.txt │ │ │ │ ├── stopwords_ar.txt │ │ │ │ ├── stopwords_bg.txt │ │ │ │ ├── stopwords_ca.txt │ │ │ │ ├── stopwords_cz.txt │ │ │ │ ├── stopwords_da.txt │ │ │ │ ├── stopwords_de.txt │ │ │ │ ├── stopwords_el.txt │ │ │ │ ├── stopwords_en.txt │ │ │ │ ├── stopwords_es.txt │ │ │ │ ├── stopwords_eu.txt │ │ │ │ ├── stopwords_fa.txt │ │ │ │ ├── stopwords_fi.txt │ │ │ │ ├── stopwords_fr.txt │ │ │ │ ├── stopwords_ga.txt │ │ │ │ ├── stopwords_gl.txt │ │ │ │ ├── stopwords_hi.txt │ │ │ │ ├── stopwords_hu.txt │ │ │ │ ├── stopwords_hy.txt │ │ │ │ ├── stopwords_id.txt │ │ │ │ ├── stopwords_it.txt │ │ │ │ ├── stopwords_ja.txt │ │ │ │ ├── stopwords_lv.txt │ │ │ │ ├── stopwords_nl.txt │ │ │ │ ├── stopwords_no.txt │ │ │ │ ├── stopwords_pt.txt │ │ │ │ ├── stopwords_ro.txt │ │ │ │ ├── stopwords_ru.txt │ │ │ │ ├── stopwords_sv.txt │ │ │ │ ├── stopwords_th.txt │ │ │ │ ├── stopwords_tr.txt │ │ │ │ └── userdict_ja.txt │ │ │ │ ├── managed-schema │ │ │ │ ├── params.json │ │ │ │ ├── protwords.txt │ │ │ │ ├── solrconfig.xml │ │ │ │ ├── stopwords.txt │ │ │ │ └── synonyms.txt │ │ ├── data_driven_schema_configs │ │ │ └── conf │ │ │ │ ├── currency.xml │ │ │ │ ├── elevate.xml │ │ │ │ ├── lang │ │ │ │ ├── contractions_ca.txt │ │ │ │ ├── contractions_fr.txt │ │ │ │ ├── contractions_ga.txt │ │ │ │ ├── contractions_it.txt │ │ │ │ ├── hyphenations_ga.txt │ │ │ │ ├── stemdict_nl.txt │ │ │ │ ├── stoptags_ja.txt │ │ │ │ ├── stopwords_ar.txt │ │ │ │ ├── stopwords_bg.txt │ │ │ │ ├── stopwords_ca.txt │ │ │ │ ├── stopwords_cz.txt │ │ │ │ ├── stopwords_da.txt │ │ │ │ ├── stopwords_de.txt │ │ │ │ ├── stopwords_el.txt │ │ │ │ ├── stopwords_en.txt │ │ │ │ ├── stopwords_es.txt │ │ │ │ ├── stopwords_eu.txt │ │ │ │ ├── stopwords_fa.txt │ │ │ │ ├── stopwords_fi.txt │ │ │ │ ├── stopwords_fr.txt │ │ │ │ ├── stopwords_ga.txt │ │ │ │ ├── stopwords_gl.txt │ │ │ │ ├── stopwords_hi.txt │ │ │ │ ├── stopwords_hu.txt │ │ │ │ ├── stopwords_hy.txt │ │ │ │ ├── stopwords_id.txt │ │ │ │ ├── stopwords_it.txt │ │ │ │ ├── stopwords_ja.txt │ │ │ │ ├── stopwords_lv.txt │ │ │ │ ├── stopwords_nl.txt │ │ │ │ ├── stopwords_no.txt │ │ │ │ ├── stopwords_pt.txt │ │ │ │ ├── stopwords_ro.txt │ │ │ │ ├── stopwords_ru.txt │ │ │ │ ├── stopwords_sv.txt │ │ │ │ ├── stopwords_th.txt │ │ │ │ ├── stopwords_tr.txt │ │ │ │ └── userdict_ja.txt │ │ │ │ ├── managed-schema │ │ │ │ ├── params.json │ │ │ │ ├── protwords.txt │ │ │ │ ├── solrconfig.xml │ │ │ │ ├── stopwords.txt │ │ │ │ └── synonyms.txt │ │ └── sample_techproducts_configs │ │ │ └── conf │ │ │ ├── _rest_managed.json │ │ │ ├── _schema_analysis_stopwords_english.json │ │ │ ├── _schema_analysis_synonyms_english.json │ │ │ ├── admin-extra.html │ │ │ ├── admin-extra.menu-bottom.html │ │ │ ├── admin-extra.menu-top.html │ │ │ ├── clustering │ │ │ └── carrot2 │ │ │ │ ├── README.txt │ │ │ │ ├── kmeans-attributes.xml │ │ │ │ ├── lingo-attributes.xml │ │ │ │ └── stc-attributes.xml │ │ │ ├── currency.xml │ │ │ ├── elevate.xml │ │ │ ├── lang │ │ │ ├── contractions_ca.txt │ │ │ ├── contractions_fr.txt │ │ │ ├── contractions_ga.txt │ │ │ ├── contractions_it.txt │ │ │ ├── hyphenations_ga.txt │ │ │ ├── stemdict_nl.txt │ │ │ ├── stoptags_ja.txt │ │ │ ├── stopwords_ar.txt │ │ │ ├── stopwords_bg.txt │ │ │ ├── stopwords_ca.txt │ │ │ ├── stopwords_ckb.txt │ │ │ ├── stopwords_cz.txt │ │ │ ├── stopwords_da.txt │ │ │ ├── stopwords_de.txt │ │ │ ├── stopwords_el.txt │ │ │ ├── stopwords_en.txt │ │ │ ├── stopwords_es.txt │ │ │ ├── stopwords_eu.txt │ │ │ ├── stopwords_fa.txt │ │ │ ├── stopwords_fi.txt │ │ │ ├── stopwords_fr.txt │ │ │ ├── stopwords_ga.txt │ │ │ ├── stopwords_gl.txt │ │ │ ├── stopwords_hi.txt │ │ │ ├── stopwords_hu.txt │ │ │ ├── stopwords_hy.txt │ │ │ ├── stopwords_id.txt │ │ │ ├── stopwords_it.txt │ │ │ ├── stopwords_ja.txt │ │ │ ├── stopwords_lv.txt │ │ │ ├── stopwords_nl.txt │ │ │ ├── stopwords_no.txt │ │ │ ├── stopwords_pt.txt │ │ │ ├── stopwords_ro.txt │ │ │ ├── stopwords_ru.txt │ │ │ ├── stopwords_sv.txt │ │ │ ├── stopwords_th.txt │ │ │ ├── stopwords_tr.txt │ │ │ └── userdict_ja.txt │ │ │ ├── managed-schema │ │ │ ├── mapping-FoldToASCII.txt │ │ │ ├── mapping-ISOLatin1Accent.txt │ │ │ ├── params.json │ │ │ ├── protwords.txt │ │ │ ├── solrconfig.xml │ │ │ ├── spellings.txt │ │ │ ├── stopwords.txt │ │ │ ├── synonyms.txt │ │ │ ├── update-script.js │ │ │ ├── velocity │ │ │ ├── README.txt │ │ │ ├── VM_global_library.vm │ │ │ ├── browse.vm │ │ │ ├── cluster.vm │ │ │ ├── cluster_results.vm │ │ │ ├── debug.vm │ │ │ ├── did_you_mean.vm │ │ │ ├── error.vm │ │ │ ├── facet_fields.vm │ │ │ ├── facet_pivot.vm │ │ │ ├── facet_queries.vm │ │ │ ├── facet_ranges.vm │ │ │ ├── facets.vm │ │ │ ├── footer.vm │ │ │ ├── head.vm │ │ │ ├── header.vm │ │ │ ├── hit.vm │ │ │ ├── hit_grouped.vm │ │ │ ├── hit_plain.vm │ │ │ ├── join_doc.vm │ │ │ ├── jquery.autocomplete.css │ │ │ ├── jquery.autocomplete.js │ │ │ ├── layout.vm │ │ │ ├── main.css │ │ │ ├── mime_type_lists.vm │ │ │ ├── pagination_bottom.vm │ │ │ ├── pagination_top.vm │ │ │ ├── product_doc.vm │ │ │ ├── query.vm │ │ │ ├── query_form.vm │ │ │ ├── query_group.vm │ │ │ ├── query_spatial.vm │ │ │ ├── results_list.vm │ │ │ ├── richtext_doc.vm │ │ │ ├── suggest.vm │ │ │ └── tabs.vm │ │ │ └── xslt │ │ │ ├── example.xsl │ │ │ ├── example_atom.xsl │ │ │ ├── example_rss.xsl │ │ │ ├── luke.xsl │ │ │ └── updateXml.xsl │ │ ├── solr.xml │ │ └── zoo.cfg └── zookeeper │ ├── zoo_ch08_5.cfg │ ├── zoo_ch08_6_source.cfg │ └── zoo_ch08_6_target.cfg ├── ch09 ├── data │ ├── 9_5_1_sampleData.csv │ ├── 9_5_1_sampleData.xls │ ├── 9_5_1_sampleData_utf8.csv │ ├── 9_5_1_sample_pairWise.csv │ └── Chapter-9-prec-recall-curve.xlsx └── samplecode_9.5.1_LearningToRank.html ├── ch11 └── ch11_solrj-cli │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── bin │ └── solrj-cli.sh │ ├── build.xml │ ├── conf │ └── log4j.properties │ ├── data │ ├── document1.json │ └── document2.json │ ├── ivy.xml │ ├── ivysettings.xml │ └── src │ ├── main │ ├── java │ │ └── solrbook │ │ │ └── ch11 │ │ │ └── solrj │ │ │ └── cli │ │ │ ├── SolrJCLI.java │ │ │ └── command │ │ │ ├── AddCommand.java │ │ │ ├── Command.java │ │ │ ├── CommandImpl.java │ │ │ ├── DeleteCommand.java │ │ │ └── SearchCommand.java │ └── main.iml │ └── test │ ├── java │ └── solrbook │ │ └── ch11 │ │ └── solrj │ │ └── cli │ │ └── command │ │ ├── AddCommandTest.java │ │ ├── CommandTestBase.java │ │ ├── DeleteCommandTest.java │ │ └── SearchCommandTest.java │ ├── resources │ ├── log4j.properties │ └── solr │ │ └── collection1 │ │ └── conf │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── stopwords.txt │ │ └── synonyms.txt │ └── test.iml ├── chAppx └── A3 │ └── data.json ├── configsets ├── ch05_urp │ └── conf │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ └── update-script-charset.js ├── ch06_facet │ └── conf │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ └── update-script-charset.js ├── ch06_group │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ ├── synonyms_ja.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch06_spatial │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ ├── synonyms_ja.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch06_suggest │ └── conf │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ └── update-script-charset.js ├── ch08_legacy_master_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch08_legacy_slave_shard1_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch08_legacy_slave_shard2_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch08_legacy_source_master_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch08_legacy_source_slave_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch08_legacy_target_repeater_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch08_legacy_target_slave_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch08_replication_master_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch08_replication_slave_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch08_solrcloud_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── ch09_ltr │ └── conf │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── stopwords.txt │ │ └── synonyms.txt ├── ch09_relevancy_configs │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ ├── synonyms_ja.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl ├── chAppx │ └── A3_blockjoin │ │ └── conf │ │ ├── _rest_managed.json │ │ ├── _schema_analysis_stopwords_english.json │ │ ├── _schema_analysis_synonyms_english.json │ │ ├── admin-extra.html │ │ ├── admin-extra.menu-bottom.html │ │ ├── admin-extra.menu-top.html │ │ ├── clustering │ │ └── carrot2 │ │ │ ├── README.txt │ │ │ ├── kmeans-attributes.xml │ │ │ ├── lingo-attributes.xml │ │ │ └── stc-attributes.xml │ │ ├── currency.xml │ │ ├── elevate.xml │ │ ├── lang │ │ ├── contractions_ca.txt │ │ ├── contractions_fr.txt │ │ ├── contractions_ga.txt │ │ ├── contractions_it.txt │ │ ├── hyphenations_ga.txt │ │ ├── stemdict_nl.txt │ │ ├── stoptags_ja.txt │ │ ├── stopwords_ar.txt │ │ ├── stopwords_bg.txt │ │ ├── stopwords_ca.txt │ │ ├── stopwords_ckb.txt │ │ ├── stopwords_cz.txt │ │ ├── stopwords_da.txt │ │ ├── stopwords_de.txt │ │ ├── stopwords_el.txt │ │ ├── stopwords_en.txt │ │ ├── stopwords_es.txt │ │ ├── stopwords_eu.txt │ │ ├── stopwords_fa.txt │ │ ├── stopwords_fi.txt │ │ ├── stopwords_fr.txt │ │ ├── stopwords_ga.txt │ │ ├── stopwords_gl.txt │ │ ├── stopwords_hi.txt │ │ ├── stopwords_hu.txt │ │ ├── stopwords_hy.txt │ │ ├── stopwords_id.txt │ │ ├── stopwords_it.txt │ │ ├── stopwords_ja.txt │ │ ├── stopwords_lv.txt │ │ ├── stopwords_nl.txt │ │ ├── stopwords_no.txt │ │ ├── stopwords_pt.txt │ │ ├── stopwords_ro.txt │ │ ├── stopwords_ru.txt │ │ ├── stopwords_sv.txt │ │ ├── stopwords_th.txt │ │ ├── stopwords_tr.txt │ │ ├── synonyms_ja.txt │ │ └── userdict_ja.txt │ │ ├── managed-schema │ │ ├── mapping-FoldToASCII.txt │ │ ├── mapping-ISOLatin1Accent.txt │ │ ├── params.json │ │ ├── protwords.txt │ │ ├── solrconfig.xml │ │ ├── spellings.txt │ │ ├── stopwords.txt │ │ ├── synonyms.txt │ │ ├── update-script.js │ │ ├── velocity │ │ ├── README.txt │ │ ├── VM_global_library.vm │ │ ├── browse.vm │ │ ├── cluster.vm │ │ ├── cluster_results.vm │ │ ├── debug.vm │ │ ├── did_you_mean.vm │ │ ├── error.vm │ │ ├── facet_fields.vm │ │ ├── facet_pivot.vm │ │ ├── facet_queries.vm │ │ ├── facet_ranges.vm │ │ ├── facets.vm │ │ ├── footer.vm │ │ ├── head.vm │ │ ├── header.vm │ │ ├── hit.vm │ │ ├── hit_grouped.vm │ │ ├── hit_plain.vm │ │ ├── join_doc.vm │ │ ├── jquery.autocomplete.css │ │ ├── jquery.autocomplete.js │ │ ├── layout.vm │ │ ├── main.css │ │ ├── mime_type_lists.vm │ │ ├── pagination_bottom.vm │ │ ├── pagination_top.vm │ │ ├── product_doc.vm │ │ ├── query.vm │ │ ├── query_form.vm │ │ ├── query_group.vm │ │ ├── query_spatial.vm │ │ ├── results_list.vm │ │ ├── richtext_doc.vm │ │ ├── suggest.vm │ │ └── tabs.vm │ │ └── xslt │ │ ├── example.xsl │ │ ├── example_atom.xsl │ │ ├── example_rss.xsl │ │ ├── luke.xsl │ │ └── updateXml.xsl └── solrbook │ └── conf │ ├── currency.xml │ ├── elevate.xml │ ├── lang │ ├── contractions_ca.txt │ ├── contractions_fr.txt │ ├── contractions_ga.txt │ ├── contractions_it.txt │ ├── hyphenations_ga.txt │ ├── stemdict_nl.txt │ ├── stoptags_ja.txt │ ├── stopwords_ar.txt │ ├── stopwords_bg.txt │ ├── stopwords_ca.txt │ ├── stopwords_cz.txt │ ├── stopwords_da.txt │ ├── stopwords_de.txt │ ├── stopwords_el.txt │ ├── stopwords_en.txt │ ├── stopwords_es.txt │ ├── stopwords_eu.txt │ ├── stopwords_fa.txt │ ├── stopwords_fi.txt │ ├── stopwords_fr.txt │ ├── stopwords_ga.txt │ ├── stopwords_gl.txt │ ├── stopwords_hi.txt │ ├── stopwords_hu.txt │ ├── stopwords_hy.txt │ ├── stopwords_id.txt │ ├── stopwords_it.txt │ ├── stopwords_ja.txt │ ├── stopwords_lv.txt │ ├── stopwords_nl.txt │ ├── stopwords_no.txt │ ├── stopwords_pt.txt │ ├── stopwords_ro.txt │ ├── stopwords_ru.txt │ ├── stopwords_sv.txt │ ├── stopwords_th.txt │ ├── stopwords_tr.txt │ └── userdict_ja.txt │ ├── managed-schema │ ├── params.json │ ├── protwords.txt │ ├── solrconfig.xml │ ├── stopwords.txt │ └── synonyms.txt └── solrbook └── sample-books.json /Changes.txt: -------------------------------------------------------------------------------- 1 | * 9 章シノニムファイルを修正 (2017.05.06) 2 | - 本文と齟齬があったため,本文に合わせて configsets/ch09_relevancy_configs/conf/lang/synonyms_ja.txt を修正 3 | -------------------------------------------------------------------------------- /ch03/atomic-update.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"id": "http://sample.com/book?id=001", 3 | "title": {"set":"Apache Solr 入門 改訂"}, 4 | "author": {"add":["西潟 一生"]} 5 | } 6 | ] 7 | -------------------------------------------------------------------------------- /ch03/csv-sample.csv: -------------------------------------------------------------------------------- 1 | id,title,author,price 2 | "http://sample.com/book?id=001"," Apache Solr 入門 ","打田 智子|大須賀 稔|大杉 直也|平賀 一昭|西潟 一生|西本 順平","3888" 3 | -------------------------------------------------------------------------------- /ch03/delete.json: -------------------------------------------------------------------------------- 1 | { 2 | "delete" : { "id":"http://sample.com/book?id=001"} 3 | } 4 | -------------------------------------------------------------------------------- /ch03/json-sample.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "id": "http://sample.com/book?id=001", 3 | "title": "Apache Solr 入門", 4 | "author": ["打田 智子", "大須賀 稔", "大杉 直也", "平賀 一昭", "西潟 一生", "西本 順平"], 5 | "price": "3888" 6 | }] 7 | -------------------------------------------------------------------------------- /ch03/sample_data/atomic-update.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"id": "http://sample.com/book?id=001", 3 | "title": {"set":"Apache Solr 入門 改訂"}, 4 | "author": {"add":["西潟 一生"]} 5 | } 6 | ] 7 | -------------------------------------------------------------------------------- /ch03/sample_data/csv-sample.csv: -------------------------------------------------------------------------------- 1 | id,title,author,price 2 | "http://sample.com/book?id=001"," Apache Solr 入門 ","打田 智子|大須賀 稔|大杉 直也|平賀 一昭|西潟 一生|西本 順平","3888" 3 | -------------------------------------------------------------------------------- /ch03/sample_data/delete.json: -------------------------------------------------------------------------------- 1 | { 2 | "delete" : { "id":"http://sample.com/book?id=001"} 3 | } 4 | -------------------------------------------------------------------------------- /ch03/sample_data/json-sample.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "id": "http://sample.com/book?id=001", 3 | "title": "Apache Solr 入門", 4 | "author": ["打田 智子", "大須賀 稔", "大杉 直也", "平賀 一昭", "西潟 一生", "西本 順平"], 5 | "price": "3888" 6 | }] 7 | -------------------------------------------------------------------------------- /ch03/sample_data/tsv-sample.tsv: -------------------------------------------------------------------------------- 1 | id title author price 2 | "http://sample.com/book?id=001" "Apache Solr 入門" "打田 智子|大須賀 稔|大杉 直也|平賀 一昭|西潟 一生|西本 順平" "3888" 3 | -------------------------------------------------------------------------------- /ch03/sample_data/update.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "id": "http://sample.com/book?id=001", 3 | "title": "Apache Solr 入門", 4 | "author": ["打田 智子", "大須賀 稔", "大杉 直也", "平賀 一昭", "西本 順平"], 5 | "price": "3888" 6 | }] 7 | -------------------------------------------------------------------------------- /ch03/sample_data/xml-sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | http://sample.com/book?id=001 4 | Apache Solr 入門 5 | 打田 智子 6 | 大須賀 稔 7 | 大杉 直也 8 | 平賀 一昭 9 | 西潟 一生 10 | 西本 順平 11 | 3888 12 | 13 | 14 | -------------------------------------------------------------------------------- /ch03/tsv-sample.tsv: -------------------------------------------------------------------------------- 1 | id title author price 2 | "http://sample.com/book?id=001" "Apache Solr 入門" "打田 智子|大須賀 稔|大杉 直也|平賀 一昭|西潟 一生|西本 順平" "3888" 3 | -------------------------------------------------------------------------------- /ch03/update.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "id": "http://sample.com/book?id=001", 3 | "title": "Apache Solr 入門", 4 | "author": ["打田 智子", "大須賀 稔", "大杉 直也", "平賀 一昭", "西本 順平"], 5 | "price": "3888" 6 | }] 7 | -------------------------------------------------------------------------------- /ch03/xml-sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | http://sample.com/book?id=001 4 | Apache Solr 入門 5 | 打田 智子 6 | 大須賀 稔 7 | 大杉 直也 8 | 平賀 一昭 9 | 西潟 一生 10 | 西本 順平 11 | 3888 12 | 13 | 14 | -------------------------------------------------------------------------------- /ch05/langid/add_field.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | curl -X POST -H 'Content-type:application/json' --data-binary '{ 4 | "add-field":{ 5 | "name":"language_s", "type":"string", "stored":true } 6 | }' http://localhost:8983/solr/multi_lang/schema 7 | -------------------------------------------------------------------------------- /ch05/langid/data.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "en-1", 4 | "title": "This is an English text.", 5 | "body": "It is fine today." 6 | }, 7 | { 8 | "id": "de-1", 9 | "title": "Dies ist deutscher Text.", 10 | "body": "Es ist heute fein." 11 | }, 12 | { 13 | "id": "fr-1", 14 | "title": "C'est texte français.", 15 | "body": "C'est fin aujourd'hui." 16 | }, 17 | { 18 | "id": "ja-1", 19 | "title": "これは日本語のテキストです。", 20 | "body": "今日はいい天気です。" 21 | } 22 | ] 23 | -------------------------------------------------------------------------------- /ch05/regrep/data.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "user01", 4 | "tel": "00-111-2345", 5 | "zipcode": "1112345" 6 | }, 7 | { 8 | "id": "user02", 9 | "tel": "012-33-4444", 10 | "zipcode": "222-3456" 11 | } 12 | ] 13 | -------------------------------------------------------------------------------- /ch05/script/data.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "http://solrbook.example.com/docs/001.html", 4 | "content_type": "text/html; charset=UTF-8" 5 | }, 6 | { 7 | "id": "http://solrbook.example.com/docs/002.html", 8 | "content_type": "text/html; charset=Shift-JIS" 9 | }, 10 | { 11 | "id": "http://solrbook.example.com/docs/003.html", 12 | "content_type": "text/html; charset=EUC-JP" 13 | } 14 | ] 15 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/basic_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/basic_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/basic_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/basic_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/basic_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/basic_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/basic_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/basic_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | {"params":{ 2 | "query":{ 3 | "defType":"edismax", 4 | "q.alt":"*:*", 5 | "rows":"10", 6 | "fl":"*,score", 7 | "":{"v":0} 8 | }, 9 | "facets":{ 10 | "facet":"on", 11 | "facet.mincount": "1", 12 | "":{"v":0} 13 | }, 14 | "velocity":{ 15 | "wt": "velocity", 16 | "v.template":"browse", 17 | "v.layout": "layout", 18 | "":{"v":0} 19 | } 20 | }} -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/data_driven_schema_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/data_driven_schema_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/data_driven_schema_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/data_driven_schema_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/data_driven_schema_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/data_driven_schema_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/data_driven_schema_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/data_driven_schema_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | {"params":{ 2 | "query":{ 3 | "defType":"edismax", 4 | "q.alt":"*:*", 5 | "rows":"10", 6 | "fl":"*,score", 7 | "":{"v":0} 8 | }, 9 | "facets":{ 10 | "facet":"on", 11 | "facet.mincount": "1", 12 | "":{"v":0} 13 | }, 14 | "velocity":{ 15 | "wt": "velocity", 16 | "v.template":"browse", 17 | "v.layout": "layout", 18 | "":{"v":0} 19 | } 20 | }} -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 |
Solr Admin
11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /ch08/solr/server/solr/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | # The number of ticks that the initial 4 | # synchronization phase can take 5 | initLimit=10 6 | # The number of ticks that can pass between 7 | # sending a request and getting an acknowledgement 8 | syncLimit=5 9 | 10 | # the directory where the snapshot is stored. 11 | # dataDir=/opt/zookeeper/data 12 | # NOTE: Solr defaults the dataDir to /zoo_data 13 | 14 | # the port at which the clients will connect 15 | # clientPort=2181 16 | # NOTE: Solr sets this based on zkRun / zkHost params 17 | 18 | -------------------------------------------------------------------------------- /ch09/data/9_5_1_sampleData.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solrbook3/examples/3d9daca21c5947f94e19b1c0ce00ee4b34dddf4d/ch09/data/9_5_1_sampleData.csv -------------------------------------------------------------------------------- /ch09/data/9_5_1_sampleData.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solrbook3/examples/3d9daca21c5947f94e19b1c0ce00ee4b34dddf4d/ch09/data/9_5_1_sampleData.xls -------------------------------------------------------------------------------- /ch09/data/Chapter-9-prec-recall-curve.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solrbook3/examples/3d9daca21c5947f94e19b1c0ce00ee4b34dddf4d/ch09/data/Chapter-9-prec-recall-curve.xlsx -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Mobile Tools for Java (J2ME) 4 | .mtj.tmp/ 5 | 6 | # Package Files # 7 | *.jar 8 | *.war 9 | *.ear 10 | 11 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 12 | hs_err_pid* 13 | 14 | # Mac 15 | .DS_Store 16 | 17 | # Eclipse 18 | .classpath 19 | .project 20 | .settings/ 21 | 22 | *.tgz 23 | /target/ 24 | /test-target/ 25 | /lib/ 26 | /test-lib/ 27 | /dist/ 28 | /package/ 29 | 30 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/data/document1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id" : { "value" : "1" }, 3 | "title_txt_en" : { "value" : "SolrJ" }, 4 | "description_txt_en" : { "value" : "SolrJ is a client library for Solr." } 5 | } 6 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/data/document2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id" : { "value" : "2" }, 3 | "title_txt_en" : { "value" : "Solr" }, 4 | "description_txt_en" : { "value" : "Solr is a full-text search server." } 5 | } 6 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/main/main.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/test/resources/solr/collection1/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/test/resources/solr/collection1/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/test/resources/solr/collection1/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/test/resources/solr/collection1/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/test/resources/solr/collection1/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/test/resources/solr/collection1/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/test/resources/solr/collection1/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/test/resources/solr/collection1/conf/params.json: -------------------------------------------------------------------------------- 1 | {"params":{ 2 | "query":{ 3 | "defType":"edismax", 4 | "q.alt":"*:*", 5 | "rows":"10", 6 | "fl":"*,score", 7 | "":{"v":0} 8 | }, 9 | "facets":{ 10 | "facet":"on", 11 | "facet.mincount": "1", 12 | "":{"v":0} 13 | }, 14 | "velocity":{ 15 | "wt": "velocity", 16 | "v.template":"browse", 17 | "v.layout": "layout", 18 | "":{"v":0} 19 | } 20 | }} -------------------------------------------------------------------------------- /ch11/ch11_solrj-cli/src/test/test.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /configsets/ch05_urp/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch05_urp/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch05_urp/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch05_urp/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch05_urp/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch05_urp/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch05_urp/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch05_urp/conf/params.json: -------------------------------------------------------------------------------- 1 | {"params":{ 2 | "query":{ 3 | "defType":"edismax", 4 | "q.alt":"*:*", 5 | "rows":"10", 6 | "fl":"*,score", 7 | "":{"v":0} 8 | }, 9 | "facets":{ 10 | "facet":"on", 11 | "facet.mincount": "1", 12 | "":{"v":0} 13 | }, 14 | "velocity":{ 15 | "wt": "velocity", 16 | "v.template":"browse", 17 | "v.layout": "layout", 18 | "":{"v":0} 19 | } 20 | }} -------------------------------------------------------------------------------- /configsets/ch05_urp/conf/update-script-charset.js: -------------------------------------------------------------------------------- 1 | function processAdd(cmd) { 2 | doc = cmd.solrDoc; // org.apache.solr.common.SolrInputDocument 3 | ctype = doc.getFieldValue("content_type") 4 | 5 | if (ctype.indexOf("text/html; charset=", 0) != -1) { 6 | charset = ctype.substr(19) 7 | doc.addField("charset", charset) 8 | } 9 | } 10 | 11 | function processDelete(cmd) { 12 | // no-op 13 | } 14 | 15 | function processMergeIndexes(cmd) { 16 | // no-op 17 | } 18 | 19 | function processCommit(cmd) { 20 | // no-op 21 | } 22 | 23 | function processRollback(cmd) { 24 | // no-op 25 | } 26 | 27 | function finish() { 28 | // no-op 29 | } 30 | -------------------------------------------------------------------------------- /configsets/ch06_facet/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch06_facet/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch06_facet/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch06_facet/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch06_facet/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch06_facet/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch06_facet/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch06_facet/conf/params.json: -------------------------------------------------------------------------------- 1 | {"params":{ 2 | "query":{ 3 | "defType":"edismax", 4 | "q.alt":"*:*", 5 | "rows":"10", 6 | "fl":"*,score", 7 | "":{"v":0} 8 | }, 9 | "facets":{ 10 | "facet":"on", 11 | "facet.mincount": "1", 12 | "":{"v":0} 13 | }, 14 | "velocity":{ 15 | "wt": "velocity", 16 | "v.template":"browse", 17 | "v.layout": "layout", 18 | "":{"v":0} 19 | } 20 | }} -------------------------------------------------------------------------------- /configsets/ch06_facet/conf/update-script-charset.js: -------------------------------------------------------------------------------- 1 | function processAdd(cmd) { 2 | doc = cmd.solrDoc; // org.apache.solr.common.SolrInputDocument 3 | ctype = doc.getFieldValue("content_type") 4 | 5 | if (ctype.indexOf("text/html; charset=", 0) != -1) { 6 | charset = ctype.substr(19) 7 | doc.addField("charset", charset) 8 | } 9 | } 10 | 11 | function processDelete(cmd) { 12 | // no-op 13 | } 14 | 15 | function processMergeIndexes(cmd) { 16 | // no-op 17 | } 18 | 19 | function processCommit(cmd) { 20 | // no-op 21 | } 22 | 23 | function processRollback(cmd) { 24 | // no-op 25 | } 26 | 27 | function finish() { 28 | // no-op 29 | } 30 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/_schema_analysis_stopwords_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{"ignoreCase":true}, 3 | "managedList":[ 4 | "a", 5 | "an", 6 | "and", 7 | "are", 8 | "as", 9 | "at", 10 | "be", 11 | "but", 12 | "by", 13 | "for", 14 | "if", 15 | "in", 16 | "into", 17 | "is", 18 | "it", 19 | "no", 20 | "not", 21 | "of", 22 | "on", 23 | "or", 24 | "stopworda", 25 | "stopwordb", 26 | "such", 27 | "that", 28 | "the", 29 | "their", 30 | "then", 31 | "there", 32 | "these", 33 | "they", 34 | "this", 35 | "to", 36 | "was", 37 | "will", 38 | "with"]} 39 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history 3 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/cluster.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Check if Clustering is Enabled and then 3 | * call cluster_results.vm 4 | *# 5 | 6 |

7 | Clusters 8 |

9 | 10 | ## Div tag has placeholder text by default 11 |
12 | Run Solr with option -Dsolr.clustering.enabled=true to see clustered search results. 13 |
14 | 15 | ## Replace the div content *if* Carrot^2 is available 16 | 20 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch06_group/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history 3 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/cluster.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Check if Clustering is Enabled and then 3 | * call cluster_results.vm 4 | *# 5 | 6 |

7 | Clusters 8 |

9 | 10 | ## Div tag has placeholder text by default 11 |
12 | Run Solr with option -Dsolr.clustering.enabled=true to see clustered search results. 13 |
14 | 15 | ## Replace the div content *if* Carrot^2 is available 16 | 20 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch06_spatial/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch06_suggest/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch06_suggest/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch06_suggest/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch06_suggest/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch06_suggest/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch06_suggest/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch06_suggest/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch06_suggest/conf/params.json: -------------------------------------------------------------------------------- 1 | {"params":{ 2 | "query":{ 3 | "defType":"edismax", 4 | "q.alt":"*:*", 5 | "rows":"10", 6 | "fl":"*,score", 7 | "":{"v":0} 8 | }, 9 | "facets":{ 10 | "facet":"on", 11 | "facet.mincount": "1", 12 | "":{"v":0} 13 | }, 14 | "velocity":{ 15 | "wt": "velocity", 16 | "v.template":"browse", 17 | "v.layout": "layout", 18 | "":{"v":0} 19 | } 20 | }} -------------------------------------------------------------------------------- /configsets/ch06_suggest/conf/update-script-charset.js: -------------------------------------------------------------------------------- 1 | function processAdd(cmd) { 2 | doc = cmd.solrDoc; // org.apache.solr.common.SolrInputDocument 3 | ctype = doc.getFieldValue("content_type") 4 | 5 | if (ctype.indexOf("text/html; charset=", 0) != -1) { 6 | charset = ctype.substr(19) 7 | doc.addField("charset", charset) 8 | } 9 | } 10 | 11 | function processDelete(cmd) { 12 | // no-op 13 | } 14 | 15 | function processMergeIndexes(cmd) { 16 | // no-op 17 | } 18 | 19 | function processCommit(cmd) { 20 | // no-op 21 | } 22 | 23 | function processRollback(cmd) { 24 | // no-op 25 | } 26 | 27 | function finish() { 28 | // no-op 29 | } 30 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_master_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard1_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_slave_shard2_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_master_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_source_slave_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_repeater_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_legacy_target_slave_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_replication_master_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_replication_slave_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/cluster.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Check if Clustering is Enabled and then 3 | * call cluster_results.vm 4 | *# 5 | 6 |

7 | Clusters 8 |

9 | 10 | ## Div tag has placeholder text by default 11 |
12 | Run Solr with option -Dsolr.clustering.enabled=true to see clustered search results. 13 |
14 | 15 | ## Replace the div content *if* Carrot^2 is available 16 | 20 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch08_solrcloud_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/ch09_ltr/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch09_ltr/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch09_ltr/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch09_ltr/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch09_ltr/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch09_ltr/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch09_ltr/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch09_ltr/conf/params.json: -------------------------------------------------------------------------------- 1 | {"params":{ 2 | "query":{ 3 | "defType":"edismax", 4 | "q.alt":"*:*", 5 | "rows":"10", 6 | "fl":"*,score", 7 | "":{"v":0} 8 | }, 9 | "facets":{ 10 | "facet":"on", 11 | "facet.mincount": "1", 12 | "":{"v":0} 13 | }, 14 | "velocity":{ 15 | "wt": "velocity", 16 | "v.template":"browse", 17 | "v.layout": "layout", 18 | "":{"v":0} 19 | } 20 | }} -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history 3 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/cluster.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Check if Clustering is Enabled and then 3 | * call cluster_results.vm 4 | *# 5 | 6 |

7 | Clusters 8 |

9 | 10 | ## Div tag has placeholder text by default 11 |
12 | Run Solr with option -Dsolr.clustering.enabled=true to see clustered search results. 13 |
14 | 15 | ## Replace the div content *if* Carrot^2 is available 16 | 20 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/ch09_relevancy_configs/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | {"initArgs":{},"managedList":[]} 2 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/_schema_analysis_synonyms_english.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{ 3 | "ignoreCase":true, 4 | "format":"solr" 5 | }, 6 | "managedMap":{ 7 | "GB":["GiB","Gigabyte"], 8 | "happy":["glad","joyful"], 9 | "TV":["Television"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/clustering/carrot2/README.txt: -------------------------------------------------------------------------------- 1 | An override location of the clustering algorithm's resources 2 | attribute definitions and lexical resources. 3 | 4 | A directory from which to load algorithm-specific stop words, 5 | stop labels and attribute definition XMLs. 6 | 7 | For an overview of Carrot2 lexical resources, see: 8 | http://download.carrot2.org/head/manual/#chapter.lexical-resources 9 | 10 | For an overview of Lingo3G lexical resources, see: 11 | http://download.carrotsearch.com/lingo3g/manual/#chapter.lexical-resources 12 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/params.json: -------------------------------------------------------------------------------- 1 | { 2 | "params": { 3 | "_UPDATE_JSON_DOCS": { 4 | "srcField": "_src_", 5 | "mapUniqueKeyOnly": true, 6 | "": { 7 | "v": 0 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history 3 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/cluster.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Check if Clustering is Enabled and then 3 | * call cluster_results.vm 4 | *# 5 | 6 |

7 | Clusters 8 |

9 | 10 | ## Div tag has placeholder text by default 11 |
12 | Run Solr with option -Dsolr.clustering.enabled=true to see clustered search results. 13 |
14 | 15 | ## Replace the div content *if* Carrot^2 is available 16 | 20 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/did_you_mean.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Hyperlinked spelling suggestions in results list 3 | *# 4 | 5 | #set($collations = $response.response.spellcheck.collations.getAll("collation")) 6 | #if($collations.size() > 0) 7 | Did you mean 8 | #foreach($collation in $collations) 9 | $esc.html($collation.collationQuery) ($collation.hits)? 10 | #end 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/error.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Show Error Message, if any 3 | *# 4 | 5 | ## Show Error Message, if any 6 | ## Usually rendered inside div class=error 7 | 8 | #if( $response.response.error.code ) 9 |

ERROR $response.response.error.code

10 | $response.response.error.msg 11 | #end 12 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/facet_pivot.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display Pivot-Based Facets 3 | * e.g.: facets specified by &facet.pivot= 4 | *# 5 | 6 |

7 | Pivot Facets 8 |

9 | 10 | #set($pivot = $response.response.facet_counts.facet_pivot) 11 | 12 | #display_facet_pivot($pivot, "") 13 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/facet_queries.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display facets based on specific facet queries 3 | * e.g.: facets specified by &facet.query= 4 | *# 5 | 6 | #set($field = $response.response.facet_counts.facet_queries) 7 | 8 |

9 | Query Facets 10 |

11 | 12 | #display_facet_query($field, "", "") 13 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/facets.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall Facet display block 3 | * Invokes the 4 facet and 1 cluster template 4 | *# 5 | 6 | #parse('facet_fields.vm') 7 | #parse('facet_queries.vm') 8 | #parse('facet_ranges.vm') 9 | #parse('facet_pivot.vm') 10 | #parse('cluster.vm') 11 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/header.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the top section of the page visible to users 3 | *# 4 | 5 | 8 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/hit.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Called for each matching document but then 3 | * calls one of product_doc, join_doc or richtext_doc 4 | * depending on which fields the doc has 5 | *# 6 | 7 | #set($docId = $doc.getFieldValue('id')) 8 | 9 |
10 | 11 | ## Has a "name" field ? 12 | #if($doc.getFieldValue('name')) 13 | #parse("product_doc.vm") 14 | 15 | ## Has a "compName_s" field ? 16 | #elseif($doc.getFieldValue('compName_s')) 17 | #parse("join_doc.vm") 18 | 19 | ## Fallback to richtext_doc 20 | #else 21 | #parse("richtext_doc.vm") 22 | 23 | #end 24 | 25 |
26 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/join_doc.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Display documents that are joined to other documents 3 | *# 4 | 5 |
6 | #field('compName_s') 7 |
8 | 9 |
10 | Id: #field('id') 11 | (company-details document for 12 | join 13 | ) 14 |
15 | 16 |
17 | Address: #field('address_s') 18 |
19 | 20 | #parse('debug.vm') 21 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/layout.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Overall HTML page layout 3 | *# 4 | 5 | 6 | 7 | #parse("head.vm") 8 | 9 | 10 | 11 | 14 |
15 | #parse("tabs.vm") 16 |
17 |
18 | $content 19 |
20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/pagination_bottom.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Paging and Statistics at bottom of results 3 | *# 4 | 5 | ## Usually rendered in pagination div tag 6 | 7 | #if($response.response.get('grouped')) 8 | ## pass 9 | #else 10 | 11 | #link_to_previous_page("previous") 12 | 13 | $page.results_found 14 | results found. 15 | 16 | Page $page.current_page_number 17 | of $page.page_count 18 | 19 | #link_to_next_page("next") 20 | 21 | #end 22 |
23 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/results_list.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Render the main Results List 3 | *# 4 | 5 | ## Usually displayed inside
6 | 7 | #if($response.response.get('grouped')) 8 | 9 | #foreach($grouping in $response.response.get('grouped')) 10 | #parse("hit_grouped.vm") 11 | #end 12 | 13 | #else 14 | 15 | #foreach($doc in $response.results) 16 | #parse("hit.vm") 17 | ## Can get an extremely simple view of the doc 18 | ## which might be nicer for debugging 19 | ##parse("hit_plain.vm") 20 | #end 21 | 22 | #end 23 | -------------------------------------------------------------------------------- /configsets/chAppx/A3_blockjoin/conf/velocity/suggest.vm: -------------------------------------------------------------------------------- 1 | #** 2 | * Provides cynamic spelling suggestions 3 | * as you type in the search form 4 | *# 5 | 6 | #foreach($t in $response.response.terms.name) 7 | $t.key 8 | #end 9 | -------------------------------------------------------------------------------- /configsets/solrbook/conf/lang/contractions_ca.txt: -------------------------------------------------------------------------------- 1 | # Set of Catalan contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | l 5 | m 6 | n 7 | s 8 | t 9 | -------------------------------------------------------------------------------- /configsets/solrbook/conf/lang/contractions_fr.txt: -------------------------------------------------------------------------------- 1 | # Set of French contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | l 4 | m 5 | t 6 | qu 7 | n 8 | s 9 | j 10 | d 11 | c 12 | jusqu 13 | quoiqu 14 | lorsqu 15 | puisqu 16 | -------------------------------------------------------------------------------- /configsets/solrbook/conf/lang/contractions_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | d 4 | m 5 | b 6 | -------------------------------------------------------------------------------- /configsets/solrbook/conf/lang/contractions_it.txt: -------------------------------------------------------------------------------- 1 | # Set of Italian contractions for ElisionFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | c 4 | l 5 | all 6 | dall 7 | dell 8 | nell 9 | sull 10 | coll 11 | pell 12 | gl 13 | agl 14 | dagl 15 | degl 16 | negl 17 | sugl 18 | un 19 | m 20 | t 21 | s 22 | v 23 | d 24 | -------------------------------------------------------------------------------- /configsets/solrbook/conf/lang/hyphenations_ga.txt: -------------------------------------------------------------------------------- 1 | # Set of Irish hyphenations for StopFilter 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | h 4 | n 5 | t 6 | -------------------------------------------------------------------------------- /configsets/solrbook/conf/lang/stemdict_nl.txt: -------------------------------------------------------------------------------- 1 | # Set of overrides for the dutch stemmer 2 | # TODO: load this as a resource from the analyzer and sync it in build.xml 3 | fiets fiets 4 | bromfiets bromfiets 5 | ei eier 6 | kind kinder 7 | -------------------------------------------------------------------------------- /configsets/solrbook/conf/lang/stopwords_hy.txt: -------------------------------------------------------------------------------- 1 | # example set of Armenian stopwords. 2 | այդ 3 | այլ 4 | այն 5 | այս 6 | դու 7 | դուք 8 | եմ 9 | են 10 | ենք 11 | ես 12 | եք 13 | է 14 | էի 15 | էին 16 | էինք 17 | էիր 18 | էիք 19 | էր 20 | ըստ 21 | թ 22 | ի 23 | ին 24 | իսկ 25 | իր 26 | կամ 27 | համար 28 | հետ 29 | հետո 30 | մենք 31 | մեջ 32 | մի 33 | ն 34 | նա 35 | նաև 36 | նրա 37 | նրանք 38 | որ 39 | որը 40 | որոնք 41 | որպես 42 | ու 43 | ում 44 | պիտի 45 | վրա 46 | և 47 | -------------------------------------------------------------------------------- /configsets/solrbook/conf/params.json: -------------------------------------------------------------------------------- 1 | {"params":{ 2 | "query":{ 3 | "defType":"edismax", 4 | "q.alt":"*:*", 5 | "rows":"10", 6 | "fl":"*,score", 7 | "":{"v":0} 8 | }, 9 | "facets":{ 10 | "facet":"on", 11 | "facet.mincount": "1", 12 | "":{"v":0} 13 | }, 14 | "velocity":{ 15 | "wt": "velocity", 16 | "v.template":"browse", 17 | "v.layout": "layout", 18 | "":{"v":0} 19 | } 20 | }} --------------------------------------------------------------------------------