Join Andornot at the SLA Toronto Chapter's Holiday Social on December 11

by Jonathan Jacobsen Thursday, November 20, 2014 4:35 PM

Andornot will be in Toronto to attend and sponsor the SLA Toronto Chapter's Holiday Social on December 11, at the Arts & Letters Club. We hope many of you will join us at this fun event.

What: SLA/OLA-SLC/THLA/FIAA Joint Holiday Social

When: December 11, 2014, 6-8pm (registration starts at 5:30pm)

Where: Arts and Letters Club, 14 Elm Street, Toronto ON

Cost: $25 members | $35 nonmembers | $15 students & unemployed

More information and registration: http://toronto.sla.org/events/?ee=641

We look forward to catching up with all you Torontonians then!

Tags: events

Transformer order in Solr DataImportHandler

by Peter Tyrrell Wednesday, November 12, 2014 12:03 PM

It has taken me years to realize this, but the order in which transformer types are listed in a Solr DataImportHandler (DIH) entity takes precedence over the order in which transformations are written within the entity. It’s just counterintuitive to expect line 2 to act before line 1.

Mixing and matching transformer types can be fraught with peril if you don’t realize this, especially if you expect one transformer to work with the output of another type.

Me, I have pretty much avoided this pitfall in recent times by moving all transformations to a script transformer, but I still have to work with examples like the one above.

Tags: Solr

How to Optimize Genie’s Catalog Edit Screen for Larger Monitors

by Jonathan Jacobsen Friday, November 07, 2014 3:13 PM

Genie’s Catalog Edit Screen includes all the fields needed to manage bibliographic records in the Genie catalogue. To help see more fields at once and minimize the need to scroll, the fields are split across four tabs, as shown here:

However, as monitors grow ever larger, with ever higher resolutions, more of a web page can be seen at once, and thus it may be more efficient to have more fields on fewer tabs. For example, here’s a layout with all the core bibliographic fields on one tab, with only serial info remaining on a separate tab:

This layout features fields that span the full width of the form, half the width, and one-third the width.

It’s fairly easy to do this by editing the Catalog edit screen in the MyEditScreens.config file, but do note that you will need to create a MyGenie.css style sheet with 2 new catalog edit styles, for the full-width and one-third width boxes, such as:

Once the styles are created, just re-arrange the fields in the Catalog edit screen into multiple tables of rows with 1, 2 or 3 fields in them, each using the appropriate styles. Here’s an example of the start of the report:

Contact us for any assistance with optimizing Genie to match your workflow, and your monitors!

Make numbers behave when sorting alphanumerically in Solr

by Peter Tyrrell Monday, November 03, 2014 10:09 AM

Problem

Numbers mixed with alphabetic characters are sorted lexically in Solr. That means that 10 comes before 2, like this:

  • Title No. 1
  • Title No. 10
  • Title No. 100
  • Title No. 2

Solution

To force numbers to sort numerically, we need to left-pad any numbers with zeroes: 2 becomes 0002, 10 becomes 0010, 100 becomes 0100, et cetera. Then even a lexical sort will arrange values like this:

  • Title No. 1
  • Title No. 2
  • Title No. 10
  • Title No. 100

The Field Type

This alphanumeric sort field type converts any numbers found to 6 digits, padded with zeroes. (If you expect numbers larger than 6 digits in your field values, you will need to increase the number of zeroes when padding.)

The field type also removes English and French leading articles, lowercases, and purges any character that isn’t alphanumeric. It is English-centric, and assumes that diacritics have been folded into ASCII characters.

Sample output

Title No. 1 => titleno000001
Title No. 2 => titleno000002
Title No. 10 => titleno000010
Title No. 100 => titleno000100

Tags: Solr

Andornot Newsletter - November 2014

by Jonathan Jacobsen Monday, November 03, 2014 10:00 AM

Please check out the latest issue of our newsletter. In this issue:

  • In Vancouver, Join Andornot at the SLA Western Canada Chapter's Year End Event on November 18
  • In Toronto, Join Andornot at the SLA Toronto Chapter's Holiday Social on December 11
  • Inmagic Webinar: The Magic Continues!
  • Revs Institute Launches VuFind Catalog of Automotive History
  • Tips and Tricks: Checking for Broken Links in Catalog Records in Inmagic Genie
  • Tips and Tricks: Adding Dot Leaders Between Columns in a DB/TextWorks Report
  • Let Us Know of New or Changed Staff
  • Tweets: Round-up of Library, Archive and Museum News

Please contact us for further information or to be added to our distribution list.

Tags: newsletters

Month List