From: Joe A. <jo...@bo...> - 2013-08-21 21:09:00
|
We are not be able to accurately index *availability*, because this changes for every transaction and hold placed. I.E., it changes "underneath" the search level. But you can relatively easily index the number of copies held per title and at which libraries, given a simple export of holdings data that corresponds to the bib records loaded into Solr. We do this and display counts with the building/library facet. The holdings driver still gives the realtime availability, but the index provides a pretty reasonable representation of the collection to the user without hammering the ILS. On Wed, Aug 21, 2013 at 3:42 PM, Demian Katz <dem...@vi...>wrote: > That’s going to be a bit trickier – ILS functionality is isolated to the > holdings tab to reduce load (that way you’re not pulling from the ILS for > every single tab of the display). Two options spring to mind immediately: > **** > > ** ** > > **1.) **If you need this always visible in the core metadata, you may > need to add some record driver methods and/or a new view helper of some > sort to pipe the data to the appropriate spot. This will obviously have > some performance/load implications.**** > > **2.) **If you want a lazy/hacky approach and don’t care if the data > is conditional on the user viewing the holdings tab, you could customize > the holdings tab with some Javascript code that dynamically injects the > data into a different part of the screen. Really ugly, and probably bad > form for me to even suggest such a thing – but it could be done.**** > > ** ** > > Let me know if you need more specifics… but examining how the HoldingsILS > record tab helper works should at least start to point you in the right > general direction.**** > > ** ** > > - Demian**** > > ** ** > > *From:* Jay Roos [mailto:ja...@gm...] > *Sent:* Wednesday, August 21, 2013 3:25 PM > *To:* Demian Katz > *Cc:* vuf...@li... > *Subject:* Re: [VuFind-Tech] Adding total copies/holds to record display** > ** > > ** ** > > No, unfortunately we want it above the holdings tab.**** > > ** ** > > On Wed, Aug 21, 2013 at 2:16 PM, Demian Katz <dem...@vi...> > wrote:**** > > Where do you want to display this? If you only need it on the holdings > tab, I suspect that you can just modify the template for displaying > holdings (RecordTab/holdingsils.phtml) to gather the relevant information. > **** > > **** > > - Demian**** > > **** > > *From:* Jay Roos [mailto:ja...@gm...] > *Sent:* Wednesday, August 21, 2013 3:05 PM > *To:* vuf...@li... > *Subject:* [VuFind-Tech] Adding total copies/holds to record display**** > > **** > > We are interested in adding a count of how many copies we have (preferably > available for holds) and the total number of holds on a bib record. I see > that Marmot has done this.**** > > **** > > Could someone point me in the right direction?**** > > ** ** > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Vufind-tech mailing list > Vuf...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-tech > > |