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
1
vote
0 answers

Grails searchable plugin "I am feeling lucky"

I've already installed the grails searchable plugin which is working fine. I would like to change its behaviour in order to have something like google's "I'am feeling lucky". I copied the…
Luixv
  • 8,590
  • 21
  • 84
  • 121
1
vote
1 answer

Grails lucene search taking inordinate amount of time

For background, I am using Grails v2.2.1 and Searchable plugin (v0.6.4) for my application, although I am a newbie when it comes to configuring Lucene. Logs show the search taking 26 mili seconds but the compass transaction takes about 15 seconds to…
vinberts
  • 13
  • 4
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…
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…
1
vote
1 answer

grails searcheable plugin search in inner hasMany class

Hello I am reading the standard documentation for grails searcheable plugin at http://grails.org/Searchable+Plugin+-+Mapping+-+Class+Property+Mapping It describes searcheable references and components in that. In the classic scenario discussed on…
Sap
  • 5,197
  • 8
  • 59
  • 101
1
vote
1 answer

Searching by query and location in Grails app

I am using the searchable plugin in my grails application to search for "Offering" instances in the following way. Search setup with following mapping in Offering class class Offering { static searchable = { only: ['title',…
tinny
  • 4,232
  • 7
  • 28
  • 38
0
votes
2 answers

Grails Searchable Plugin with a logical OR

I am using the Searchable plugin's query builder to try and build a query that searches some content and only returns objects that the user is the audience of or the audience is global. The code I would like to have would be similar to: { …
mfollett
  • 1,814
  • 15
  • 27
0
votes
1 answer

How to set the size of search result in Grails Searchable plugin

For my application I am using Grails Searchable plugin. By default the search result size is 10 results per page. How can I can increase the search result size because I want to show all the results on one page instead of doing paginating stuff.…
ayrus
  • 11
  • 2
0
votes
0 answers

adding constraint on boolean field grails searchable plugin

I want to add constraint e.g "isEnabled" on domain property in Grails searchable plugin.I am using Grails 2.4.4 and searchable plugin 0.6.9.currently I have added string fields in searchable constraint but not able to add constraint on the Boolean…
Abdur Rehman
  • 114
  • 3
  • 11
0
votes
1 answer

grails 3.0.5 with searchable plugin

i am trying to upgrade my application from grails 2.1.1 to grails 3.0.5 i get a problem to install searchable plugin... i see this page.. it says "Grails version: 2.0 > *".. then it must be support for grails 3.0.5 i put mavenRepo…
user2809386
0
votes
0 answers

Informix Database Crash with Postgres FDW and Grails Searchable Plug-in

I have quite a complex setup: an Informix (11.5) legacy database which contains some of the business data, a Postgres (9.3) database which connects via foreign data wrapper (FDW) to the Informix instance, and a Grails application (2.4.4) which…
0
votes
1 answer

grails app standalone app with searchable plug-in throws NoClassDefFoundError

I'm trying to build a standalone grails (v.2.5.0) app using the grails standalone app runner plug-in (v.1.3). With run-app and run-war everything works fine and I can also deploy the WAR file to a tomcat 7 instance without any issues. However, if I…
mlist
  • 285
  • 1
  • 9
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
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…