I am trying to use Grails 2.3.3 with Solr. I have installed the plugin with:
grails.project.dependency.resolution = {
plugins {
...
compile ":solr:0.2"
}
}
and (the deprecated):
$> grails install-plugin solr
but it didn't work. Is this plugin still valid or there are other alternatives for using Solr with Grails 2.3.3?
I think development might be inactive on this plugin. Out of interested I use Searchable very successfully:
BuildConfilg.groovy:
In your domain class:
To index in a Service:
Edit:
The spellcheck add the facility to provide suggested searches if you misspelled the search term:
To search for a term
To match with similar word "cycle" or "cycling" append ~ on to the serach term
The options here also allow you to highlight search terms in the result