solr/config/solrconfig.xml in curation_concerns-1.3.3 vs solr/config/solrconfig.xml in curation_concerns-1.4.0

- old
+ new

@@ -55,10 +55,25 @@ <!-- config for the admin interface --> <admin> <defaultQuery>*:*</defaultQuery> </admin> + <updateHandler class="solr.DirectUpdateHandler2"> + <updateLog> + <str name="dir">${solr.ulog.dir:}</str> + </updateLog> + + <autoCommit> + <maxTime>${solr.autoCommit.maxTime:15000}</maxTime> + <openSearcher>false</openSearcher> + </autoCommit> + + <autoSoftCommit> + <maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime> + </autoSoftCommit> + </updateHandler> + <!-- SearchHandler http://wiki.apache.org/solr/SearchHandler For processing Search Queries, the primary Request Handler @@ -85,11 +100,10 @@ those searches. You may also be interested in: http://wiki.apache.org/solr/LocalParams --> <str name="qf"> id - active_fedora_model_ssi title_tesim author_tesim subject_tesim </str> <str name="pf"> @@ -117,13 +131,10 @@ score </str> <str name="facet">true</str> <str name="facet.mincount">1</str> - <str name="facet.limit">10</str> - <str name="facet.field">active_fedora_model_ssi</str> - <str name="facet.field">subject_sim</str> <str name="spellcheck">true</str> <str name="spellcheck.dictionary">default</str> <str name="spellcheck.onlyMorePopular">true</str> <str name="spellcheck.extendedResults">true</str> @@ -172,9 +183,20 @@ <str name="echoParams">all</str> <str name="fl">*</str> <str name="rows">1</str> <str name="q">{!term f=id v=$id}</str> <!-- use id=666 instead of q=id:666 --> </lst> + </requestHandler> + + <searchComponent name="termsComponent" class="solr.TermsComponent" /> + + <requestHandler name="/terms" class="solr.SearchHandler"> + <lst name="defaults"> + <bool name="terms">true</bool> + </lst> + <arr name="components"> + <str>termsComponent</str> + </arr> </requestHandler> <!-- Spell Check The spell check component can return a list of alternative spelling