From: John H. <ho...@hs...> - 2010-03-26 13:39:18
|
I'm trying to get a clear picture of the desired behavior, so let me summarize my thinking, based on our discussions and everyone's comments. Interface aside, the desired behavior would be something like this: 1. When performing a search, check first for a session cookie. If one exists, take the home library from that. 2. If there is no session cookie and the user is logged in, get the home library from the user's account profile. 3. Check for a permanent home library cookie. This would be set by library staff for workstations in their buildings. 4. If you have gotten a home library from any of the above sources, apply a filter to any searches. Indicate the filter in the interface and provide a convenient way for the user to turn it off or set the home library to "All". 5. When performing a home library scoped search, show only results held by the home library. (Alternately, one could give extra weight to home library results, but I don't think this is the behavior expected by our libraries. Which would you prefer?) 6. When displaying the holdings for a given record, place the home library copies at the top of the list. 7. If a home library scoped search returns no results, suggest to the user that they expand their search to all libraries/collections. Have I missed anything? J On Mar 26, 2010, at 8:55 AM, Demian Katz wrote: > There have already been some good suggestions, but a few more thoughts: > > 1.) From an architectural/configuration perspective, it probably makes sense to have a getHomeLibrary function somewhere -- maybe as part of the Solr Search Object. The point is to centralize the rules for determining a home library so they can be more ea > sily customized (cookie, hard-coded form value, Evergreen lookup, whatever) or even (after we've seen enough use cases) controlled via .ini settings. > > 2.) Another potential .ini setting might be whether to limit only to the home library or to simply boost home library holdings. This could control how the Search Object uses the result of getHomeLibrary to add filter queries or modify the main Solr query. > > 3.) A completely different approach to consider is to introduce a checkbox facet called "Limit to my home library" to make it easy to toggle between all holdings and local holdings (though VuFind's current checkbox facet mechanism will need to be made smar > ter if you want a location-based checkbox facet to coexist cleanly with a standard location facet list -- right now, it only works correctly for facet fields that are not used elsewhere on the page). > > 4.) Regarding the bq boost query parameter, its restriction to Dismax is a problem right now, but this may be solvable when Solr 1.5 comes out with Extended Dismax -- that feature will introduce more Lucene capabilities to the Dismax handler and may allow > us to stop using Lucene entirely (or at least restrict it to a much more limited set of circumstances). We could probably start experimenting with it in a branch even sooner using a nightly Solr build, though I prefer to wait for an official release befo > re sticking this into the trunk. > > 5.) When you talk about raising home library holdings to the top, are you referring to the search results (as already discussed) or the record view item list (not discussed yet, but probably achievable through driver customizations)? > > 6.) Don't forget about the existing JIRA ticket for this issue -- http://vufind.org/jira/browse/VUFIND-180. Feel free to open new, more specific tickets and link them to it and/or add comments there to keep track of our plans. > > - Demian > >> -----Original Message----- >> From: John Houser [mailto:ho...@hs...] >> Sent: Thursday, March 25, 2010 4:26 PM >> To: vuf...@li... >> Subject: [VuFind-Tech] Scoped searching and the home library >> >> One of our planned enhancements to VuFind is to allow users to select a >> specific library to search up front. In addition, we want the user to >> be able to set a home library for their session and scope the search >> automatically. This could be part of the user's VuFind profile (or we >> could get the home library from Evergreen). Our libraries will probably >> want to set a default home library and have the workstation reset to >> that home library after a session timeout. This could be a permanent >> cookie that is overridden by the user's session cookie. Related to >> this, we'd like the holdings display to put the user's home library >> items at the top, by default. What are your thoughts on the subject? >> >> J >> >> -- >> John Houser >> Technology Coordinator >> HSLC >> 215-534-6820 >> ho...@hs... >> >> >> >> >> ----------------------------------------------------------------------- >> ------- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Vufind-tech mailing list >> Vuf...@li... >> https://lists.sourceforge.net/lists/listinfo/vufind-tech -- John Houser Technology Coordinator HSLC 215-534-6820 ho...@hs... |