Questions tagged [grails-searchable]

Popular Grails plugin that add search functionality to Grails domain models. Built on Compass and Lucene.

The Grails plugin brings rich search features to applications with minimum effort, and gives you power and flexibility when you need it.

It is built on the search engine framework and and has the same license as Grails (Apache 2).

Plugin documentation

47 questions
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

Restrict search to component's field value with grails searchable plugin

I have issue with restriction on component't field. My model structures are below class Category { String name; String description; Date createDate static hasMany = [items: Item] static searchable = true } and class Item…
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

How to use Date with grails searchable plugin?

I have a domain class that looks like this class A { static searchable = { only: ['title','startAt', 'endAt'] } .... Date startAt Date endAt } and I use a code like this to search Date today = new Date() Date endDate = today + 7 def results =…
0
votes
1 answer

Applying restrictions to Grails Searchable results

I'm developing an application with Grails 2.2.2 / MySQL. I'd like to integrate the Searchable plugin, however my application is a multi-tenant saas app, and I need to restrict the results that are returned somehow. So for instance if I am a user of…
rcgeorge23
  • 3,594
  • 4
  • 29
  • 54
0
votes
0 answers

Deploying Multiple Grails Apps With Spring Security Against Same Oracle Database

I have an existing Grails app which includes the Spring Security Core, Spring Security UI and Searchable plugins running on Tomcat against Oracle. I have a new Grails app which will utilize the same plugins. Both apps customize the Person (User)…
Dennis
  • 401
  • 5
  • 17
0
votes
2 answers

Lucene Search Sorting

I need to search member's by first name and last name, which I have done successfully. Next thing which I have to do is that member's connection should come first in the list (sorting by connection.), like in Facebook, friends come first in the…
Umair Saleem
  • 1,055
  • 5
  • 19
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

how to search encrypted data in grails

I have domain with 3 field cardNo, cardName and account class card { String cardNo String cardName Account account static constraints = { cardNo(blank:false, unique:true) cardName(blank:false) account(blank:false) } The…
dope
  • 21
  • 1
  • 5
0
votes
1 answer

Projecting Grails Searchable plugin result set

I have a complex searchable configuration for a domain class and its associated domain classes. when I search for about 200 results (max:200) it takes too long to respond. in the result set I have all fields (simple or association) specified for…
Farzin Zaker
  • 3,578
  • 3
  • 25
  • 35
0
votes
1 answer

Grails searchable plugin installation error

I am using grails 2.2.1 and trying to install the searchable plugin version 0.6.4. I've added a named proxy and it is set. This seems to be not the problem. I've changed the buildConfig.groovy as follows: repositories { inherits true // Whether…
Luixv
  • 8,590
  • 21
  • 84
  • 121
0
votes
1 answer

Lucene /Searchable Plugin - Grails not reindexing has many

I have a searchable model setup as: class Tag{ def searchable = true String name } class PersonTag{ static belongsTo = [person: Person] static searchable = { tag(component: true) person(component: true) } …
Nix
  • 57,072
  • 29
  • 149
  • 198
0
votes
1 answer

grails searchable for grails 2.1.0?

Can anyone please tell me what is the searchable plugin version works with grails-2.1.0? When I add the searchable plugin with version 0.6.4 (via maven dependency) I'm getting this error when I'm building the project Plugin: searchable -…
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
2 answers

Grails Searchable Plugin(Lucene) - 1 To Many Query

I am using grail's searchable plugin(0.6.4). I need to search the Members on the basis of privacy settings. Following is the db design. Member has MemberProfile, and MemberProfile has PrivacySettings class Member extends { String…
Umair Saleem
  • 1,055
  • 5
  • 19