Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] Re: [IdS] [grouper-users] multiple search terms

Subject: Grouper Developers Forum

List archive

[grouper-dev] Re: [IdS] [grouper-users] multiple search terms


Chronological Thread 
  • From: "Michael R. Gettes" <>
  • To: Chris Hyzer <>
  • Cc: Rahul Doshi <>, "" <>, "" <>
  • Subject: [grouper-dev] Re: [IdS] [grouper-users] multiple search terms
  • Date: Mon, 10 Feb 2014 15:52:08 +0000
  • Accept-language: en-US

Thanks Chris!  the check box is a better UI way to go.  I’d hate for someone to have to go to an import screen just to have to enter a list of 3 or 4 people, that’s why we went for the comma separated list.  Maybe another GUI approach, on a mac the command key allows you to select multiple entries in a selection list.  I believe control allows for the same in windows.  Can we do it that way instead of having checkboxes added?

/mrg

On Feb 6, 2014, at 1:31 PM, Chris Hyzer <> wrote:

We discussed this on the call, and having the equals there seems like something that might not be usable for the average user.  The combobox (autocomplete), allows any input, but it puts exact matches on top (first screenshot).
 
I made the search form (link below the combobox) have a check box for exact match, you can see that in the second screenshot.
 
This is on the demo server now, though there was an error with groups in exact matches, might be fixed if I build the new subject API, otherwise I need to look into it.
 
The problem with the UI v2.2 is that the subject add isn’t conducive to adding multiple members unless you import them.  I guess the search screen could have checkboxes or something to pick multiple results.
 
In other words, you can put commas in the search box, and multiple results will display, but then you pick one to add…
 
Thanks,
Chris
 
 
<image002.png>
 
 
 
 
 
<image001.png>
 
From: Michael R. Gettes [] 
Sent: Monday, January 20, 2014 1:22 PM
To: Chris Hyzer
Cc: Rahul Doshi; 
Subject: Re: [IdS] FW: [grouper-users] multiple search terms
 
some further clarification…
 
from some interaction with our users, what would be nice for the user is something like:
 
=searchterm
or
=term1,term2,term3
 
the latter one inherits the exact match so all terms are exact match searches.  This allows someone to paste in a user list (comma separated) and get just those users.  a real time saver coupled with a “select all” option if it exists in the result list.  so far, many folks make use of the comma separated list capability already.
 
many thanks for the consideration!
 
/mrg
 
On Jan 20, 2014, at 12:11 PM, Rahul Doshi <> wrote:


Chris,
 
Will be able to make an additional enhancement to https://bugs.internet2.edu/jira/browse/GRP-893 so that exact searches can be done in grouper UI.  For example search term =rrdoshi should just search based on subjectId or SubjectIdentifier configured in sources.xml
 
Thanks,
Rahul
 
From: "Michael R. Gettes" <>
Date: Monday, January 20, 2014 at 11:47 AM
To: Rahul Doshi <>
Cc: "" <>
Subject: Re: [IdS] [grouper-users] multiple search terms
 
can you ask Chris about adding in the ‘=‘ on the first search term to enable exact matches?  if this is going to be implemented in 2.2 - then i believe we can wait for that.
 
/mrg
 
On Jan 20, 2014, at 10:19 AM, Rahul Doshi <> wrote:


Status of comma separate search string in grouper.
 
Thanks,
Rahul
 
From: Rahul Doshi <>
Date: Friday, April 5, 2013 at 10:12 AM
To: Chris Hyzer <>
Subject: Re: [grouper-users] multiple search terms
 
Sorry  I didn't pay close attention to version and thought it's fixed in 2.1 branch.  Guess I will just wait until 2.2 comes out.
 
Thanks,
Rahul
 
From: Chris Hyzer <>
Date: Friday, April 5, 2013 10:54 AM
To: Rahul Doshi <>
Subject: RE: [grouper-users] multiple search terms
 
You mean when 2.2 comes out, or now?  2.2 isnt the most stable thing at the moment… but you can certainly run it as a proof of concept just to verify the functionality…
 
Thanks,
Chris
 
From: [] On Behalf Of Rahul Doshi
Sent: Friday, April 05, 2013 9:13 AM
To: 
Subject: Re: [grouper-users] multiple search terms
 
Thank you.  I will try it out.
 
Rahul
 
From: Chris Hyzer <>
Date: Friday, April 5, 2013 1:34 AM
To: Rahul Doshi <>, "" <>
Subject: RE: [grouper-users] multiple search terms
 
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.
 
 
Thanks,
Chris
 
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.
 
Ok?
 
Thanks,
Chris
 
 
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"
            type="edu.internet2.middleware.grouper.ui.actions.CmuDoSearchSubjectsAction"
            unknown="false" validate="false">
      <forward name="SearchResults" path="SubjectSearchResultsDef" redirect="false"/>
    </action>  
 
  <action name="SearchFormBean" path="/searchNewMembers" scope="request"
            type="edu.internet2.middleware.grouper.ui.actions.CmuSearchNewMembersAction"
            unknown="false" validate="false">
      <forward name="AssignNewMembers" path="/populateAssignNewMembers.do"
               redirect="false"/>
    </action>
 
Thanks,
Rahul
 
From: "" <>
Date: Wednesday, March 13, 2013 8:43 AM
To: Rahul Doshi <>, "" <>
Subject: Re: [grouper-users] multiple search terms
 

Send along the code...

Thanks,
Chris



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

 
Hello,
 
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.
 
Thanks,
Rahul




Archive powered by MHonArc 2.6.16.

Top of Page