Skip to content

Commit

Permalink
Merge branch 'master' into hush_the_hound
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo committed May 17, 2016
2 parents bd94387 + 89c7e93 commit 76189b7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Generated via
# `rails generate curation_concerns:work GenericWork`
module CurationConcerns
class GenericWorkActor < CurationConcerns::Actors::BaseActor
module Actors
class GenericWorkActor < CurationConcerns::Actors::BaseActor
end
end
end
35 changes: 22 additions & 13 deletions solr/config/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,41 @@
-->

<!--
This is a stripped down config file used for a simple example...
It is *not* a good example to work from.
This is a stripped down config file used for a simple example...
It is *not* a good example to work from.
-->
<config>

<!-- Controls what version of Lucene various components of Solr
adhere to. Generally, you want to use the latest version to
get all bug fixes and improvements. It is highly recommended
that you fully re-index after changing this setting as it can
affect both how text is indexed and queried.
-->
<luceneMatchVersion>5.0.0</luceneMatchVersion>

<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lib" />
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lucene-libs" />
<lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar" />
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-cell-\d.*\.jar" />

<directoryFactory name="DirectoryFactory"
<directoryFactory name="DirectoryFactory"
class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}">
</directoryFactory>
</directoryFactory>

<codecFactory class="solr.SchemaCodecFactory"/>

<schemaFactory class="ClassicIndexSchemaFactory"/>


<dataDir>${solr.blacklight-core.data.dir:}</dataDir>

<requestDispatcher handleSelect="true" >
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048000" />
</requestDispatcher>

<requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" />

<!-- config for the admin interface -->
<!-- config for the admin interface -->
<admin>
<defaultQuery>*:*</defaultQuery>
</admin>
Expand Down Expand Up @@ -188,10 +187,21 @@
</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
suggestions.
suggestions.
http://wiki.apache.org/solr/SpellCheckComponent
-->
Expand Down Expand Up @@ -246,7 +256,7 @@
</lst>
-->

<!-- a spellchecker that use an alternate comparator
<!-- a spellchecker that use an alternate comparator
comparatorClass be one of:
1. score (default)
Expand Down Expand Up @@ -309,4 +319,3 @@
<!-- </lst> -->
</requestHandler>
</config>

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# `rails generate curation_concerns:work GenericWork`
require 'rails_helper'

RSpec.describe CurationConcerns::GenericWorkActor do
RSpec.describe CurationConcerns::Actors::GenericWorkActor do
it "has tests" do
skip "Add your tests here"
end
Expand Down

0 comments on commit 76189b7

Please sign in to comment.