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
6
votes
1 answer

Accent insensitive search in Grails

How to make full text search using Grails Searchable Plugin accent insensitive ?
verglor
  • 616
  • 7
  • 21
6
votes
1 answer

Grails hibernate/Searchable stops server to start by giving the exception below

We are using Grails 2.1.1 and Searchable plugin 0.6.4 in our Grails applications and implemented searchable on some domains which are indicated below with all the mappings. class User { ..... static hasMany = [userEducations :…
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
5
votes
2 answers

Grails "a different object with the same identifier value was already associated with the session" error

Possible Duplicate: Hibernate: different object with the same identifier value was already associated with the session I have the following code in my controller in Grails that is failing with "a different object with the same identifier value…
Sap
  • 5,197
  • 8
  • 59
  • 101
4
votes
2 answers

Searchable Plugin Unable to Resolve Class in Grails 2.2.4

Whenever I run my Grails application for the first time, using searchable 0.6.4, I get the following error: | Error Fatal error during compilation org.codehaus.groovy.control.MultipleCompilationErrorsException: startup…
starryknight64
  • 504
  • 7
  • 15
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…
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…
3
votes
1 answer

Grails Plugin Searchable - default wildcard search

Is there a way to automatically wrap all searches with a wildcard? e.g.: Book.search("*${params.q}*", params)
Nix
  • 57,072
  • 29
  • 149
  • 198
3
votes
1 answer

Grails including null value check in searchable query builder

We are using grails 2.1.1 and searchable - 0.6.3 We are trying to filter results using query builder. Our problem is that we cannot put a check on tupples having null in a field. We have gone through lots of documentation but couldn't find any…
Wasim
  • 896
  • 7
  • 24
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,…
2
votes
1 answer

grails Searchable plugin : How to make property only for sorting , but not for searching

I am using searchable plugin in my project. And i have a simple domain, which given below Class User { String title String Description int vote Date date } static searchable = { only:…
2
votes
1 answer

Grails searchable plugin search by mapped domain

we are using grails 2.1.1 and grails searchable-plugin 0.6.4. We want to search a domain with belongsTo association using searchable. Suppose we have a domain class A { static belongsTo= [b:B] } Now To Access A with b instance we will write…
Wasim
  • 896
  • 7
  • 24
1
vote
0 answers

Indexing an entity in an actor thread using Grails searchable

I am using the Grails searchable plugin to index an entity with a custom text representation. I want this entity to be indexed in an actor (using GPars) that will be triggered asynchronously once the entity was inserted. Is there any way to realize…
1
vote
1 answer

how to write this grails searchable query

In a grails project, some of the domain classes have a "region" field (not all of them). The logged in user is belonged to one the regions. I want to search those objects that 1- Does not have a region field OR 2- Their region field is equal to…
Farshid Zaker
  • 1,960
  • 2
  • 22
  • 39
1
vote
2 answers

Grails searchable plugin: limitless results

The searchable plugin seems to default to only 10 results. How do I change this to return all results? @ Bill I'm looking for something like this: DomainClass.search("This is the query", [max:every_last_one_of_em]) I could put a limit of like 40…
Mikey
  • 4,692
  • 10
  • 45
  • 73
1
2 3 4