Questions tagged [searchable-plugin]
28 questions
5
votes
2 answers
Error upgrading grails app to 2.3.7
I have recently upgraded my Grails application from 2.1.1 to 2.3.7.
It's showing some exceptions with searchable plugin.
I am using searchable:0.6.6
Exception looks like…

Charu Jain
- 852
- 1
- 7
- 18
4
votes
1 answer
Grails Searchable Plugin Many-to-Many search
I have domain class User which has many-to-many relationship to domain class LibraryElement. I am trying to filter all the library elements, with certain text in it, that belong to User. This is how the searchable properties and relationship is…

rastko
- 567
- 9
- 24
3
votes
0 answers
Grails Searchable Plugin Showing Error
I have installed searchable plugin in my application in which I want to put a search box, searching items from my DB. I have modified the controller as following to search effectively.
My Domain class looks like this
class User {
String…

Kumar Shwetank
- 31
- 3
3
votes
2 answers
Grails 2.4.4 + searchable:0.6.9 runtime issues
When trying to add the searchable:0.6.9 (or lesser ones) on a Grails 2.4.4 app I get an exception thrown by hibernate4, but this only happens when I add the "static searchable = true" to my domain class.
Considering that my BuildConfig.groovy looks…

mohsenmadi
- 2,277
- 1
- 23
- 34
3
votes
1 answer
Searchable index gets locked on manual update (LockObtainFailedException)
We have a Grails project that runs behind a load balancer. There are three instances of the Grails application running on the server (using separate Tomcat instances). Each instance has its own searchable index. Because the indexes are separate,…

Mikko
- 33
- 4
2
votes
1 answer
Why is Grails Searchable Plugin causing errors on Hibernate AutoFlush?
In the Grails 1.2.5 project that I am trying to troubleshoot, we use the Grails Searchable plugin .5.5.1.
The problem is that whenever we attempt to index large sets domain classes, Grails keeps throwing:
ERROR hibernate.AssertionFailure - an
…

Mark Rogers
- 96,497
- 18
- 85
- 138
1
vote
0 answers
grails searchable plugin sorting by enum type
I have a class PrintRequest with a an enum type (enum class is Status) property called "theStatus" and I want searchable to sort based on theStatus of the PrintRequest. I've created a mapping:
static mapping = {theStatus type:"integer"}
in my…

mpdunson
- 227
- 1
- 11
1
vote
0 answers
How to search by date with Grails searchable plugin
I am using the searchable plugin for Grails and I am wondering how I can search by date?
My groovy class has a date field like this
class Foo {
Date myDate
String value
static searchable = true
}
and I am able to search for things in…

redsofa
- 141
- 1
- 5
1
vote
2 answers
Declaration of SearchableBehavior::beforeSave() should be compatible with ModelBehavior::beforeSave(Model $model, $options = Array)
I am using Searchable-Behaviour-for-CakePHP
The plugin eject error:
Strict (2048): Declaration of SearchableBehavior::beforeSave() should be compatible with ModelBehavior::beforeSave(Model $model, $options = Array)…

hmaceves
- 15
- 1
- 7
1
vote
1 answer
Unable to Install searchable 0.6.5 for grails 2.2.3
When I need searchable 0.6.5 plugin for grails 2.2.3, I modifed BuildConfigh.groovy as following:
dependencies {
compile ":searchable:0.6.5"
}
plugins {
runtime ":hibernate:$grailsVersion"
runtime ":jquery:1.8.3"
runtime…

user2547673
- 11
- 1
1
vote
1 answer
Grails Searchable plugin set with RAM index gets lost deploying to Cloud Foundry
I am deploying a Grails application to Cloud Foundry where the Searchable plugin 'compassConnection' is set to use a RAM index. Problem is Cloud Foundry applies some of it's magic auto-configuration to set the 'compassConnection' to use a file-based…

Olly
- 31
- 3
1
vote
1 answer
Grails Searchable plugin and GORM marshalling
I have an one-to-one relationship (hasOne in User domain and belongsTo in UserInfo domain). When the BootStrap is executing I get an exception:
org.compass.core.converter.ConversionException: Trying to marshall a null id [id] for alias…

rastko
- 567
- 9
- 24
1
vote
2 answers
Grails - Searchable plugin: Can I stop it from relying just on Lucene index?
Well I've been trying to get the searchable plugin to work with my current app, but there is one thing that bothers me:
Every search relies solely on the Lucene index.
And that leads to some disturbing problems (like this:…

GalmWing
- 731
- 1
- 7
- 14
0
votes
1 answer
remoteField not triggering action call
So I am attempting to create a search field that will filter contacts on the fly. So I have the main results being displayed in a template (Contact/list.gsp):
<%@ page import="contactmanager.Contact" %>

user82302124
- 1,143
- 5
- 32
- 57
0
votes
1 answer
Setting doctrine 1.2.x Searchable Behavior index-table name?
I'm using Zend Framework and doctrine 1.2.x
Is there a way to define index-table name while adding Doctrine Searchable Behaviour?
./doctrine build-all-reload script generates weird "model__info_index" table name instead of "info_index"
Here is my…

Tomasz Rozmus
- 1,646
- 13
- 21