Giter Site home page Giter Site logo

sircelsius / elasticsearch-grails-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noamt/elasticsearch-grails-plugin

0.0 3.0 0.0 3.77 MB

The revived ElasticSearch grails plugin

Home Page: Based on Graeme Rocher initial stub. Note that it is still in early stage.

License: Other

Groovy 94.16% Shell 5.84%

elasticsearch-grails-plugin's Introduction

Elasticsearch Grails plugin

An Elasticsearch plugin for Grails; This project is a fork based on the great work done by the guys at https://github.com/mstein/elasticsearch-grails-plugin.

Why would you want to fork the original Elasticsearch plugin?

The original Elasticsearch plugin relies on Hibernate-specific GORM components, thus rendering it unusable if you back your Grails application by any other database.

How can I obtain the plugin?

Build Status

Just like any other Grails plugin, through the Grails Plugin center. Edit your project’s BuildConfig.groovy file, by adding the plugin’s dependency declaration:

grails.project.dependency.resolution = {
    plugins {
        runtime ':elasticsearch:0.0.4.0'
    }
}

Ohs Nos! I’m hitting a java.lang.Exception: No datastore implementation specified

This error means that you probably haven’t specified your datastore type in your Config.groovy file. This plugin has an auto-index feature which automatically propagates any changes made to searchable Domains into the search index; this is done by hooking into GORM’s storage events but also requires a reference to the active datastore implementation. To fix, edit your project’s Config.groovy file and add:

elasticSearch {
    ...
    datastoreImpl = 'nameOfDatastoreBean'
    ...
}

Where the value should be the name of the datastore bean as it is configured in the Spring context; some possible values:

MongoDB

mongoDatastore

Hibernate

hibernateDatastore

License

Copyright 2014 the original author or authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Here, have a yak:

                            _,,,_
                        .-'`  (  '.
                     .-'    ,_  ;  \___      _,
                 __.'    )   \'.__.'(:;'.__.'/
         __..--""       (     '.__{':');}__.'
       .'         (    ;    (   .-|` '  |-.
      /    (       )     )      '-p     q-'
     (    ;     ;          ;    ; |.---.|
     ) (              (      ;    \ o  o)
     |  )     ;       |    )    ) /'.__/
     )    ;  )    ;   | ;       //
     ( )             _,\    ;  //
     ; ( ,_,,-~""~`""   \ (   //
      \_.'\\_            '.  /<_
       \\_)--\             \ \--\
   jgs )--\""`             )--\"`
       `""`                `""`

elasticsearch-grails-plugin's People

Contributors

burtbeckwith avatar djktno avatar domix avatar donbeave avatar jamesallman avatar lucaslward avatar magno32 avatar marcoscarceles avatar melix avatar mgkimsal avatar mstein avatar noamt avatar pledbrook avatar rcracel avatar rpokorny avatar ruslan-atr avatar ruslan-khalitov avatar smaldini avatar spither avatar tcrossland avatar tuler avatar verglor avatar vincentjames501 avatar vsaar avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.