Questions tagged [searchable-plugin]

28 questions
0
votes
1 answer

does searchable plugin work only with hibernate?

I use grails-1.3.2 and hbase-0.2.4 plugin. I want to use searchable plugin, but when I install plugin with it appears hibernate plugin, which conflicts with hbase-0.2.4 plugin. When I am uninstalling hibernate plugin, I can not run my application…
Bella
  • 185
  • 1
  • 7
  • 19
0
votes
2 answers

How to remove controller from grails programmatically?

Im having some conflicts with the Searchable plugin. I have a filter which fetches the controller in question in the before phase. It fetches the requested controller by finding the first controller that has the same name as controllerName which is…
netbrain
  • 9,194
  • 6
  • 42
  • 68
0
votes
1 answer

How can I compare tho properties using grails Searchable Plugin

Given the following domain class: class Test { String name Integer val1, val2 } I'm currently searching this class with the following criteria: Test.createCriteria().list(params) { params.key.split(' ').each { ilike('name',…
ylima
  • 410
  • 5
  • 17
0
votes
1 answer

How to search using a domain class instance?

I have a domain class User with all the instances like [User : 1, User: 2, User : 3, User:4, User: 5, User: 6, User: 7, ...] and an instance list userInstanceList with only a few objects, say [User : 3, User:4] My search term is in User : 4 and…
Syam
  • 575
  • 2
  • 8
  • 25
0
votes
0 answers

How to tweak memory for Grails using Heroku and Searchable

I'm using Grails 2.3.7 on Heroku and the searchable plugin. I have 2 nodes of 512Mb RAM. My app was fine on Grails 2.3.5 but now not so much on Grails 2.3.7. Since I've updated I've noticed a 10-30% memory jump (before I was around running at 100%…
Zaccak Solutions
  • 249
  • 3
  • 10
0
votes
1 answer

Grails searchable plugin reindex performance tuning

I need to re-index regulary all of my domain instances from a live legacy database Where are ~400k recodrs in DB Reading domain object one by one from DB withoud reindex getting ~15 minuts The iterating with reindex gets 8-10 hours with index in…
demon101
  • 544
  • 1
  • 11
  • 39
0
votes
1 answer

Grails searcheble don't use field during fulltext search

Domain (just simple example): class House { String address String region Long price static searchable = { only = ['address', 'price', 'region'] } } I want to search by address with price selector Search query is: "${address} AND price: [100 TO…
demon101
  • 544
  • 1
  • 11
  • 39
0
votes
0 answers

Starting up Grails application on Tomcat7

I am struggling with an issue trying to start up a Grails 2.0.4 application in a new environment with Tomcat7. I am trying to log everything but I am not being able to find the source of the problem. The output in catalina.out is SEVERE: Context…
0
votes
0 answers

Grails app not started using searchable

I am having some problems trying to start up in production a grails app that is using searchable and the only log that I have is 2014-01-21 20:45:16,622 [pool-2-thread-3] INFO analyzer.LuceneAnalyzerManager - Building analyzer…
0
votes
0 answers

grails searchable with query builder can't find entity

Using searchable plugin with grails 2.3.4 and a postgreSql datasource. The plugin can't render the result when i build a query with a closure: 1) Having a domain Test: import org.compass.annotations.* class Test implements Serializable { static…
ludo_rj
  • 3,877
  • 1
  • 18
  • 37
0
votes
1 answer

Checking active flag in grails searchable query

I would like to build search query for Grails Searchable Plugin, which will return me only active objects. (Will not return objects with 'activate' flag set false). This is my situation. I have one Abstract class, and some classes, which extend…
akn
  • 3,712
  • 26
  • 43
0
votes
1 answer

Disable default searchable controller in grails

Is there a way to disable controller which is a part of some plugin (Searchable in my case) in Grails? The only two ways I can think of are pointing it to 404 page in UrlMappings [1] or writing filter for the same thing. However this seems to me…
pseudo
  • 836
  • 1
  • 11
  • 20
0
votes
1 answer

grails install-searchable-config

I need to reconfigure default setting for searchable plugin. When I try to run install-searchable-config I get the following error: Error I/O exception loading script [null\scripts\Init.groovy (The system cannot find the path specified)]:…
rastko
  • 567
  • 9
  • 24
1
2