At a guess, it's a flaw in my understanding of how to do a precise WorldCat search. I threw the phrase "warming, global" at the subject index and it looks to have done an implicit AND and a ranking of the results. The real mystery to me is why "global warming" gets 13 times as many records as "warming, global", if my theory is true.
I'll ask the WorldCat database guys.
As to the "global warming" heading showing up twice, it's because it is actually in the record twice.
Thanks for your kind words and for looking at this!
> -----Original Message-----
> From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
> Ya'aqov Ziso
> Sent: Thursday, December 10, 2009 4:49 PM
> To: [log in to unmask]
> Subject: Re: [CODE4LIB] Auto-suggest and the id.loc.gov LCSH web service
> O Holy Night, O HOCLC-ly Joy, thanks for the gifts Ralph!
> at http://orlabs.oclc.org/FAST/autosuggest.html
> I did this:
> 1. I entered cross reference warming, global¹ and it retrieved 1,247 hits;
> I checked the first title (Global warming by Cynthia Bily, 2006), its OCLC
> record had Global warming¹ as subject. So why did warming, global retrieve
> 2. I entered global warming¹ and got 13,243 hits, all dandy. When I I
> clicked into the record, the More like this¹ had under subjects Global
> warming¹ listed twice, both retrieving 13,326 hits
> 3. is there anything in the process that I missed also the indication of the
> relationship between main heading Global warming¹ and cross reference
> Warming, global?
> On 12/10/09 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 the
> > service can be found at http://orlabs.oclc.org/FAST/autosuggest.html and
> > the underlying AutoSuggester is running at
> > http://orlabs.oclc.org/FAST/AutoSuggest. Searches from the HTML go to
> > 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 query
> > that comes to the AutoSuggester is turned into an SRU query and the
> > resulting record is dropped into the AutoSuggester response. The link
> > to the SRU database for the above query for "0" would be
> > http://orlabs.oclc.org/identities/search/AutoSuggestFAST?query=fragment+
> > exact+%220%22
> > I've put up a file containing all the records I loaded into my database.
> > The records contain 2 tab delimited fields. The first field is the key
> > to the record and corresponds to the user's keystrokes (e.g. '0' above).
> > The second field contains the JSON response which is an ordered array of
> > terms. I load that into the moral equivalent of Lucene and you see the
> > 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 are
> > working on
> >> > producing a similar file for LCSH.
> >> >
> >> > The file can be found at http://orlabs.oclc.org/FAST/fastOutput.zip.
> >> >
> >> > The file contains tab delimited records. The first column is the ID
> > number of the
> >> > FAST record that the term comes from. The second column is the MARC
> >> > Authorities field that the term came from. The third column is the
> > term itself. The
> >> > 4th column is the count of records in WorldCat that are retrieved when
> > that term
> >> > is used in the Keyword index. The 5th column is the count of records
> > 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