Ethan, your solr response will look great when you get that ranking
information into it. I hope we'll have the LCSH equivalent of that FAST
data sometime soon.
> -----Original Message-----
> From: Code for Libraries [mailto:[log in to unmask]] On Behalf
> Ethan Gruber
> Sent: Thursday, December 10, 2009 4:35 PM
> To: [log in to unmask]
> Subject: Re: [CODE4LIB] Auto-suggest and the id.loc.gov LCSH web
> Nice work, Ralph. That's really slick. I have all the subject terms
> solr index, but I would like to eventually integrate the Worldcat data
> make the results more relevant (rather than just sorted alphabetically
> each subject occurs only once).
> I have yet to adapt my Orbeon forms to handle dynamic querying of the
> in Solr, but would like to have that done in the next week or two (I
> Here's a sample of the data:
> The terms.prefix parameter displays terms that start with the letters
> inputted. It's extremely fast, so I have no doubt I can use it for
> autosuggest per keystroke.
> On Thu, Dec 10, 2009 at 4:07 PM, LeVan,Ralph <[log in to unmask]> wrote:
> > In a rare demonstration of doing as promised, I have a FAST
> > AutoSuggester running based on that data. An HTML demonstration of
> > service can be found at http://orlabs.oclc.org/FAST/autosuggest.html
> > the underlying AutoSuggester is running at
> > http://orlabs.oclc.org/FAST/AutoSuggest. Searches from the HTML go
> > WorldCat.
> > An example of a suggestion request would be
> > http://orlabs.oclc.org/FAST/AutoSuggest?query=0
> > It returns JSON, which the above HTML link demonstrates the use of.
> > My AutoSuggester is just a thin interface to an SRU database. The
> > that comes to the AutoSuggester is turned into an SRU query and the
> > resulting record is dropped into the AutoSuggester response. The
> > to the SRU database for the above query for "0" would be
> > I've put up a file containing all the records I loaded into my
> > The records contain 2 tab delimited fields. The first field is the
> > to the record and corresponds to the user's keystrokes (e.g. '0'
> > The second field contains the JSON response which is an ordered
> > terms. I load that into the moral equivalent of Lucene and you see
> > results in that SRU search. The file can be found at
> > http://orlabs.oclc.org/FAST/AutoSuggestFAST.zip
> > Let me know if you have any problems or questions.
> > Ralph
> > > -----Original Message-----
> > > From: LeVan,Ralph
> > > Sent: Thursday, December 10, 2009 11:12 AM
> > > To: [log in to unmask]
> > > Subject: RE: [CODE4LIB] Auto-suggest and the id.loc.gov LCSH web
> > service
> > >
> > > We've made some progress on this topic.
> > >
> > > I have available a list of our FAST subject headings. They are
> > derived from
> > > LCSH and may be of some use. The folks that produced this file
> > working on
> > > producing a similar file for LCSH.
> > >
> > > The file can be found at
> > >
> > > The file contains tab delimited records. The first column is the
> > number of the
> > > FAST record that the term comes from. The second column is the
> > > Authorities field that the term came from. The third column is
> > term itself. The
> > > 4th column is the count of records in WorldCat that are retrieved
> > that term
> > > is used in the Keyword index. The 5th column is the count of
> > in
> > > WorldCat that are retrieved when that term is used in the Subject
> > index.
> > >
> > > I expect to have an AutoSuggester built on this today.
> > >
> > > Ralph