Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6108687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:19:20+00:00 2026-05-23T14:19:20+00:00

The searchable plugin seems to default to only 10 results. How do I change

  • 0

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 and probably be fine, but the purpose of this search is to give a human a list of similar things to disambiguate, so if some of the things are missing the stupid humans will likely use “assumption” to get the wrong answers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:19:21+00:00Added an answer on May 23, 2026 at 2:19 pm

    From the documentation at: http://grails.org/Searchable+Plugin+-+Methods+-+search

    Options affecting the return value
        max - The maximum number of results to return (default 10). Only used with result: "searchResult"
    

    So it seems you’ll need to pass in a Map of options to your search call, like:

    DomainClass.search( "This is the query", [max:1000] )
    

    Note, having an “unlimited” search result is a Bad Idea(TM). Figure out the max you want to handle and use that as your limit.

    I would suggest having a “large” limit, if you must. If you get back that many, then do a further query to find out how many there are (there is an option for that too), and display a message to the user that “This is an incomplete set, please further restrict your view” or some such.

    If you absolutely MUST show them all. Then use that count query (it’s an option in the page I listed above), then resend the search using that count as the max.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using grails searchable plugin, I would like to search for all products within a
I'm trying to disable the Searchable plugin default search page ( http://localhost/searchable/ ), but
For my Grails App i use Searchable Plugin to have an nice google-like Search.
I am looking for a searchable multiple select javascript widget that can handle filtering
How would you create a database in Microsoft Access that is searchable only by
My Grails app is using the searchable plugin, which builds on Compass and Lucene
I have a problem with the routing while using the Searchable Plugin of Neil
In my Grails app, I'm using the Searchable plugin for searching/indexing. I want to
I'd like to have a Collection that is searchable by the value of a
I use grails-1.3.2 and hbase-0.2.4 plugin. I want to use searchable plugin, but when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.