click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: SAK-14166
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Steve Smail
Reporter: Steve Smail
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sakai

We should be able to configure the maximum number of databases a user may select from the database hierarcy list

Created: 07-Aug-2008 13:31   Updated: 27-Oct-2009 13:46
Component/s: Citations
Affects Version/s: 2.5.0
Fix Version/s: 2.6.0

Time Tracking:
Not Specified

Environment: N/A

2.6.x Status: None
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
The maximum number of databases a user may select from the database hierarchy list is obtained via the following method in the SearchManager API:

    public int getNumMaxSearchableDb()

However, this implementation was never really completed - it currently returns a hard-coded answer (eight) that is sufficient for the ExLibris and Sirsi metasearch products, but may not be correct for other metasearch engines.

Ideally, this method should find it's "answer" by calling out to the Citations configuration service. To support this, we'll need to update the configuration service to lookup this value in the XML configuration file.



 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Steve Smail added a comment - 26-Sep-2008 10:14
A fix for this has been tested and checked in.

The following directive may now be used in the configuration file:

  <searchable-databases>#</searchable-databases>

The # character represents a positive integer value. At present, there is no sanity check on the upper limit value,

Steve Smail added a comment - 22-May-2009 10:34
Included in the initial Sakai 2.6 release.