Delaying the autosuggest until three or four characters have been
entered should save some time.
Unfortunately, the search results aren't very digestible. The query
term is matched anywhere in the heading, and only 30 results are
returned per page. So, for example, the first page of a search for
"doc*":
http://id.loc.gov/authorities/search/?q=doc*
doesn't return any results that actually start with "doc" (" Act of
state doctrine", "Adventists--Doctrines",
"Agriculture--Documentation", etc).
Ben
On Mon, Dec 7, 2009 at 11:21 AM, Doug Chestnut <dougchestnut_at_gmail.com> wrote:
> mod_cache might help, assuming that performance gets better as your
> query string grows.
>
> --Doug
>
> On Mon, Dec 7, 2009 at 11:14 AM, Ethan Gruber <ewg4xuva_at_gmail.com> wrote:
>> It doesn't seem very efficient. It is taking me at least 30 seconds to load
>> a page of 'a*' in http://id.loc.gov/authorities/search/
>>
>> On Mon, Dec 7, 2009 at 11:05 AM, Houghton,Andrew <houghtoa_at_oclc.org> wrote:
>>
>>> > From: Code for Libraries [mailto:CODE4LIB_at_LISTSERV.ND.EDU] On Behalf Of
>>> > Winona Salesky
>>> > Sent: Monday, December 07, 2009 11:00 AM
>>> > To: CODE4LIB_at_LISTSERV.ND.EDU
>>> > Subject: Re: [CODE4LIB] Auto-suggest and the id.loc.gov LCSH web
>>> > service
>>> >
>>> > Quoting Ethan Gruber <ewg4xuva_at_GMAIL.COM>:
>>> >
>>> > > I have a need to integrate the LCSH terms into a web form that uses
>>> > > auto-suggest to control the vocabulary. Is this technically possible
>>> > with
>>> > > the id.loc.gov service?
>>>
>>> Why can't you just add a "*" to the end of the data in your search form
>>> and send the request to the id.loc.gov search, per:
>>>
>>> <http://id.loc.gov/authorities/techcenter/searching.html>
>>>
>>> then parse the response?
>>>
>>>
>>> Andy.
>>>
>>
>
--
Benjamin Florin
Technology Assistant for Blended Education
Simmons College GSLIS
617-521-2842
benjamin.florin_at_simmons.edu
Received on Mon Dec 07 2009 - 11:44:11 EST