Subject: Grouper Users - Open Discussion List
- From: Chris Hyzer <>
- To: Rahul Doshi <>, "" <>
- Subject: RE: [grouper-users] multiple search terms
- Date: Thu, 4 Apr 2013 05:51:53 +0000
- Accept-language: en-US
- Authentication-results: sfpop-ironport04.merit.edu; dkim=neutral (message not signed) header.i=none
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.
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"
<forward name="SearchResults" path="SubjectSearchResultsDef" redirect="false"/>
<action name="SearchFormBean" path="/searchNewMembers" scope="request"
<forward name="AssignNewMembers" path="/populateAssignNewMembers.do"
Send along the code...
----- Reply message -----
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.
- RE: [grouper-users] multiple search terms, Chris Hyzer, 04/04/2013
Archive powered by MHonArc 2.6.16.