logo

Gravl: Adding Fulltext Search

logo

I’ve just finished adding fulltext search to Gravl, and, while is still needs some more CSS tweaks, it’s working just great. I took the chance to have a good look at the Searchable plugin and it looks awesome! Sadly, it just kept NPEing at me and complaining that it couldn’t find java.lang.Class! Perhaps it’s a victim of the RC-flux, no doubt it will resurface as 1.0 settles in.

Anyways, I ripped the SearchService out of Groovyblogs, and I was up and running in an hour. I must bundle that thing into a LuceneSearch plugin someday… it’s really very handy. Feel free to have a search in that box at the top right, “Pebble” gives you a good chance to see the paginate in action.

gravl Search in action... searching for Gravl!

So that last real piece of the Gravl puzzle is image upload and management. But right now I’ve got to get cracking on my “Grails Extreme Makeover” talk for G2X.

Search on!

3 Responses to “Gravl: Adding Fulltext Search”

  1. Karl says:

    Hello,

    i’ve got a working Searchable-0.4-SNAPSHOT wo. npe, this is working with the RCs too.
    In the plugin’s java directory u need to slightly modify the org/codehaus/groovy/grails/plugins/searchable/compass/SearchableCompassUtils.java file.
    Here is the “patched” version:
    http://rafb.net/p/prsZip92.html (nopaste url)

  2. Glen Smith says:

    Awesome Karl. Thanks for the link. I‘m really keen to give it a go.

  3. ibmsoft says:

    非常好

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

logo
logo
Powered by WordPress | Designed by Elegant Themes