Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

286 switch from solr to elastic search #1090

Merged
merged 57 commits into from
Dec 2, 2014

Conversation

ebolloff
Copy link
Member

Should do the first fixes for the search with elasticsearch instead of solr

end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/EmptyLinesAroundBody: Extra empty line detected at body end.

@SGraef
Copy link
Member

SGraef commented Oct 23, 2014

please change the travis.yml file according to the changes that elasticsearch instead of solr will be started

@0robustus1
Copy link
Contributor

984c992 and 8256098 have the exact same commit-message. If they belong together please squash one into the other (with rebase -i for example).

include Elasticsearch::Model::Callbacks

mapping do
indexes :name, type: 'string', :analyzer => 'snowball'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/HashSyntax: Use the new Ruby 1.9 hash syntax.

@ebolloff ebolloff force-pushed the 286-switch_from_solr_to_elastic_search branch 3 times, most recently from d5d67e3 to 56af861 Compare November 1, 2014 20:24

if in_repository?
respond_with OntologySearch.new.make_repository_keyword_list_json(repository, prefix)
def search

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/CyclomaticComplexity: Cyclomatic complexity for search is too high. [7/6]
Metrics/MethodLength: Method has too many lines. [22/10]
Metrics/PerceivedComplexity: Perceived complexity for search is too high. [8/7]

@ebolloff ebolloff force-pushed the 286-switch_from_solr_to_elastic_search branch from 5a474ed to 8d103e2 Compare December 1, 2014 14:47
@0robustus1 0robustus1 force-pushed the 286-switch_from_solr_to_elastic_search branch 3 times, most recently from 6cc7819 to 72de428 Compare December 2, 2014 08:30
But on our local machines we'll use 9250 and the test-cluster.
@0robustus1 0robustus1 force-pushed the 286-switch_from_solr_to_elastic_search branch from 72de428 to daa05c1 Compare December 2, 2014 11:46
@0robustus1
Copy link
Contributor

👍

ebolloff added a commit that referenced this pull request Dec 2, 2014
…_search

286 switch from solr to elastic search
@ebolloff ebolloff merged commit e36dc68 into staging Dec 2, 2014
@ebolloff ebolloff deleted the 286-switch_from_solr_to_elastic_search branch December 2, 2014 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants