Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] multiple search terms

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] multiple search terms

Chronological Thread 
  • From: Chris Hyzer <>
  • To: Rahul Doshi <>, "" <>
  • Subject: RE: [grouper-users] multiple search terms
  • Date: Fri, 5 Apr 2013 05:34:32 +0000
  • Accept-language: en-US
  • Authentication-results:; dkim=neutral (message not signed) header.i=none

I implemented this in 2.2 in the API so it is available from the legacy admin ui, the lite ui, the new ui, the ws, gsh, etc.





From: Chris Hyzer
Sent: Thursday, April 04, 2013 1:52 AM
To: 'Rahul Doshi';
Subject: RE: [grouper-users] multiple search terms


This is a good idea, though I think it is more of an API thing, so that other things besides the UI can use it (WS is all that comes to mind, which could be used by another UI).


Also, I think with your implementation the max page size could be exceeded, right?  We should do the same paging as is already done (i.e. aggregate each search term result into one list, and count the total to see if it is too large).  I need to look at the code to verify this is how it currently works when searching across multiple sources.


I can put a switch in so that people can opt out of this functionality.   I would think we would want it defaulted to on.  Also, this would be in 2.2.








From: Rahul Doshi []
Sent: Wednesday, March 13, 2013 1:22 PM
To: Chris Hyzer;
Subject: Re: [grouper-users] multiple search terms


Hi Chris,


I am attaching the two customized action classes and struts-config.xml snippets to configure them.  I used custom-struts-config.xml file to configure action classes in our environment.


  <action name="SearchFormBean" path="/doSearchSubjects" scope="request"


            unknown="false" validate="false">

      <forward name="SearchResults" path="SubjectSearchResultsDef" redirect="false"/>



  <action name="SearchFormBean" path="/searchNewMembers" scope="request"


            unknown="false" validate="false">

      <forward name="AssignNewMembers" path="/"







From: "" <>
Date: Wednesday, March 13, 2013 8:43 AM
To: Rahul Doshi <>, "" <>
Subject: Re: [grouper-users] multiple search terms


Send along the code...


----- Reply message -----
From: "Rahul Doshi" <>
To: "" <>
Subject: [grouper-users] multiple search terms
Date: Tue, Mar 12, 2013 5:19 pm




We had a need to be able to search on multiple search terms in single search request so that we can add multiple subjects to the grouper group at once.  It doesn't appear grouper supports this out of the box so I had to customize grouper search dialog to be able to take multiple search terms delimited by coma and search on them.  Although it solved our problem for time being I would really like if this was built-in functionality in grouper. 


I would be happy to share my code if needed.




Archive powered by MHonArc 2.6.16.

Top of Page