4
TECHNOLOGY CONNECTION: Web Search Field Trip: Find it on the Web with Field Searching By William H.Weare, Jr. Wouldn't it be nice if you could do a simple search in Google and not retrieve millions of matches? Wouldn't it be nice if you could quickly and easily find Web documents that really match your query? Wouldn't it be nice if you could learn simple and effective Web search techniques that you could teach your students? Many of us who search regularly—librarians, teachers, students, and others who do online research as part of their work-—have learned to apply some relatively simple search techniques to Web searching, such as phrase searching and the application of Boolean logic. Most of these simple techniques mimic those available in library catalogs or library-provided elearonic resources. Field searching on the Web is similar to field searching in a library catalog or any library- provided electronic resource. However, unlike the records in a catalog or an anide database, a Web document has only a few searchable fields. Web pages consist of a header (information about the document including the title), an address (Uniform Resource Locator or URL), and the body (which contains the content of the document). The title, URL, and body are searchablefields.A search for specific terms in the title field or URL will greatly reduce the number of hits and can significantly improve the likelihood of retrieving on-topic results, OneStat, a Web analytics provider, has found that most "A field search that specifically targets the title or URL is not only an effective tool for your own use, but one that is well worth teaching to your students." Google, Yahoo, Live Search, and Ask—the four largest search entities that operate their own crawling and indexing technology—ail support a variety of advanced search techniques. These options are accessible via the Advanced Search Page or by learning how to use the syntax that is largely unique to search engines. FIELD SEARCHING This article will address what is perhaps the most effective of these advanced search techniques: field searching. Very powerfUl and easy to learn, field searching is simply a method of locating specific terms in a specific field. We will review the field searching options available via each search engine's Advanced Search Page, and utilize a number of examples to show how to use syntax to do field searching from the main page. The latter approach provides moreflexibleand powerful options—and in some cases provides options that are not available via the Advanced Search Page. searches consist of two or three terms (OneStat. com). If the location of those terms is not specified, the entire document is searched—the tide, URL, and body. This type of keyword search can return millions of results. In contrast, a search confined to the title or URL would retrieve significantly fewer results than a basic search; the results are more likely to be specifically about the topic because the title or URL generally contains terms that describe the content ofthat document. THE FIELD SEARCHING CHARTS Figure 1, "Field Searching from the Advanced Search Page," identifies which types of field searching are available from the Advanced Search Page of each of the four major search engines. Figure 2, "Field Search Syntax," delineates the syntax used by each search engine for the two most effective field searches: searching in the title field and searching in the URL. The most common type of Weh syntax is the use of specific prefixes positioned before the term(s); this is the case with field searching. Tlie remainder of the article describes specifically how to execute each of these techniques. SEARCHING IN THE TITLE FIELD A search for terms in the tide field is best illustrated with an example. A basic search in Google for north american black hear returned more than 2,600,000 results (at the time of writing). Presumably, all of those results have those four terms somewhere in the document, although the terms may not he in close proximity to one another. 'Ihe Advanced Search Page in Google includes the option to "Return results where my terms occur" and the user can select "in the title of the page." A search for the same fbur terms— north american black bear—specifying rhat the terms be in the title of the page—-yielded less than 100 results—all of which have those four terms in the title field. Because these terms appear in the tide, these documents are very likely to be about North American Black Bears. Clearly, a search for specific terms in the title field results in an appreciably smaller set of focused, on-topic results than would an ordinary keyword search that looks for the terms anywhere in the document. Like Google, the Advanced Search Pages in Yahoo and Ask include the option to search for terms in the title of a particular Web document, but the Advanced Search Page in Live Search does not include this option (see screen shot 1 ). Alternatively, it is possible to search for a term or terms in the title fieid from the search box on the main page. To locate just one term in the tide field, input the syntax intitle: (in title:), followed by the term to be located in the title of a document. For example, intitle:Monet (there is no space between the colon and the term) returns documents that have Monet in the title field. Google, Yahoo, Live Search, and Ask all support the intitle:syntax. It is important to understand that in Google, Yahoo, and Live Search, the use of intitle: will only tetrieve documents that have the single term immediately following the colon in 52 LIBRARY MEDIA August/September 2008

TECHNOLOGY CONNECTION - Rutgers University

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

TECHNOLOGY CONNECTION:Web Search Field Trip: Find it on the Web withField SearchingBy William H.Weare, Jr.

Wouldn't it be nice if you could do a simplesearch in Google and not retrieve millions ofmatches? Wouldn't it be nice if you could quicklyand easily find Web documents that really matchyour query? Wouldn't it be nice if you could learnsimple and effective Web search techniques thatyou could teach your students?

Many of us who search regularly—librarians,teachers, students, and others who do onlineresearch as part of their work-—have learned toapply some relatively simple search techniquesto Web searching, such as phrase searching andthe application of Boolean logic. Most of thesesimple techniques mimic those available in librarycatalogs or library-provided elearonic resources.

Field searching on the Web is similar to fieldsearching in a library catalog or any library-provided electronic resource. However, unlikethe records in a catalog or an anide database, aWeb document has only a few searchable fields.Web pages consist of a header (informationabout the document including the title), anaddress (Uniform Resource Locator or URL),and the body (which contains the content ofthe document). The title, URL, and body aresearchable fields. A search for specific terms inthe title field or URL will greatly reduce thenumber of hits and can significantly improve thelikelihood of retrieving on-topic results, OneStat,a Web analytics provider, has found that most

"A field search that specifically targets the title or URLis not only an effective tool for your own use, but onethat is well worth teaching to your students."

Google, Yahoo, Live Search, and Ask—the fourlargest search entities that operate their owncrawling and indexing technology—ail supporta variety of advanced search techniques. Theseoptions are accessible via the Advanced SearchPage or by learning how to use the syntax that islargely unique to search engines.

FIELD SEARCHINGThis article will address what is perhaps the mosteffective of these advanced search techniques: fieldsearching. Very powerfUl and easy to learn, fieldsearching is simply a method of locating specificterms in a specific field. We will review thefield searching options available via each searchengine's Advanced Search Page, and utilize anumber of examples to show how to use syntax todo field searching from the main page. The latterapproach provides more flexible and powerfuloptions—and in some cases provides options thatare not available via the Advanced Search Page.

searches consist of two or three terms (OneStat.com). If the location of those terms is notspecified, the entire document is searched—thetide, URL, and body. This type of keyword searchcan return millions of results. In contrast, asearch confined to the title or URL would retrievesignificantly fewer results than a basic search; theresults are more likely to be specifically about thetopic because the title or URL generally containsterms that describe the content ofthat document.

THE FIELD SEARCHING CHARTSFigure 1, "Field Searching from the AdvancedSearch Page," identifies which types of fieldsearching are available from the AdvancedSearch Page of each of the four major searchengines. Figure 2, "Field Search Syntax,"delineates the syntax used by each searchengine for the two most effective field searches:searching in the title field and searching in the

URL. The most common type of Weh syntax isthe use of specific prefixes positioned before theterm(s); this is the case with field searching. Tlieremainder of the article describes specificallyhow to execute each of these techniques.

SEARCHING IN THE TITLE FIELDA search for terms in the tide field is bestillustrated with an example. A basic search inGoogle for north american black hear returnedmore than 2,600,000 results (at the time ofwriting). Presumably, all of those results have thosefour terms somewhere in the document, althoughthe terms may not he in close proximity to oneanother. 'Ihe Advanced Search Page in Googleincludes the option to "Return results where myterms occur" and the user can select "in the titleof the page." A search for the same fbur terms—north american black bear—specifying rhat theterms be in the title of the page—-yielded less than100 results—all of which have those four terms inthe title field. Because these terms appear in thetide, these documents are very likely to be aboutNorth American Black Bears. Clearly, a searchfor specific terms in the title field results in anappreciably smaller set of focused, on-topic resultsthan would an ordinary keyword search that looksfor the terms anywhere in the document. LikeGoogle, the Advanced Search Pages in Yahooand Ask include the option to search for terms inthe title of a particular Web document, but theAdvanced Search Page in Live Search does notinclude this option (see screen shot 1 ).

Alternatively, it is possible to search for a termor terms in the title fieid from the search boxon the main page. To locate just one term inthe tide field, input the syntax intitle: (in title:),followed by the term to be located in the title ofa document. For example, intitle:Monet (there isno space between the colon and the term) returnsdocuments that have Monet in the title field.Google, Yahoo, Live Search, and Ask all supportthe intitle:syntax. It is important to understandthat in Google, Yahoo, and Live Search, the use ofintitle: will only tetrieve documents that have thesingle term immediately following the colon in

5 2 LIBRARY MEDIA August/September 2008

the title field; the second and following terms may

appear elsewhere in the document. For instance, in

the search intitle:north american black bear, only

the term north would be specifically searched for

in the title field.

Note that the intitle:syntax will work with a phrasethat is enclosed in quotation marks; for example,intitlt':"north american black bear"—but keep inmind that the use of quotation marks dictates theorder of tbe terms; if those particular terms are inany othet order in the title field, that documentwould not be found.

Generally, a Web search will include more thanone term; unfortunately, the syntax needed tofind more than one term in the title field variesby search engine. Google supports the syntaxall in title: {all in title:)—followed by the terms tobe located in the title ofa document. For example,a Google search for allintitle:north americanblack bear (no space between the colon and thefirst term) rettieves documents in which the fourterms—north, american, black, and beat—allappear in the title {see screen shot 2). In Ask,(unlikf Google, Yahoo, and Live Search), it is theiniitte: (not allintitle:) syntax that will locate allof the terms following tbe colon in the title field.Yahoo and Live Search do not support ¿ specificsyntax for locating more than one term in the titlefield. However, it is possible to do so: simply usethe intitle:syntax more than once; fot example,intitIe:Monet intitlc:biography will retrieve Webdocuments with both Monet and biography in thetitle field.

SEARCHING IN THE URLEvery Web document has a Uniform ResourceLocator (URL)—this is the "address" of the

document. Like a title search, a search for termsin the URL, rather than in the entire document,can return a significantly smaller set of focused,on-topic results. In Google, for example, thereis an option to "Return results where my termsoccur" and the user can select "in the URL of thedocument." Again, a search for terms in the URLis best explained with an example. A basic searchin Google for the terms asthma and children—without specifying that the terms be located inthe URL of the document—yielded more than3,500,000 results {at rhe time of writing); a searchfor the same terms in the URL yielded about 750results. Ihe content of che documents having bothterms in the URI, appears to be primarily aboutasthma and children. Ihe Advanced Search Pagesin Google, Yahoo, and Ask all include the option tosearch for terms in the URL; the Advanced SearchPage in Live Search does not include this option.

As was rhe case with searching for terms in thetitle field, it is possible to search for terms in theURL from the main page. To locate ¡tisr one rermin the URL, input the syntaxinurl: (in URL:), followed by thererm to be located in the URLofa document. For example,inurhasthma (there is no space

between the colon and theterm). Google, Yahoo, and Ask

recognize the inurl:syntax. Notetbat in Google and Yahoo, the

use of inurl: will retrieve onlydocuments that have the single

term immediately following thecolon in the URL; the secondand following terms may appearelsewhere in the document. For

example, in the search inurhnorth american black

bear, only the term north would be specifically

searcbed for in the URL.

Tlie syntax needed to find mote than one term inthe URL varies by search engine. From Googlesmain page, use the syntax allinurl: (all in URL:)in the search box, followed by tbe terms to befound in the URL of the document; for example,allinurl:asthma children. In Ask, the inurt: syntaxbehaves like Google's allinurl: and will locate allof the terms following the colon in the URL. Forexample, a search for iiiurl:asrhma children willretrieve documents that have both asthma andchildren in the URL. Although Yahoo does notsupport specific syntax for locating for more thanone term in the URL it will allow for the repetitionof the use of the inurhsyntax to find more thanone term; tor example, inurhasthma inurhchildren.The documentation on the Help Page at LiveSearch indicates that the inurhsyntax is supported;however, it docs nor currently work.

SCREEN SHOT 1A search for north american black bear in the title field using theAdvanced Search Page in Google.

Google Advanced Search

Figure 1 : Field Searching from the Advanced Search Page

Is this search option available from theAdvanced Search Page?

Google Yahoo! Live Search Ask

Find term(s) in TITLE:

Findterm(s)inURL:

August/September 2008

Yes

Yes

No

No

Yes

Yes

Find «Mb pag» Owl M v « -

mil tuet «romtng or pnrtM

Ofls or nws o' ÜMM worot

BIN cWnt ihow pag»

Languag«

Pila typt.

wilun a M* or (tonwin:

p Pala, rlQh». numatic ran^. ind

(hav iHtfil th* H9> al

WAiti« your MywortM mow

Region

Numanc range:

Paga-apacMc tooU:

Find pageiumllarnmapaga

FHU page* mat link to tmptg«:

LIBRARY MEDIA CONNECTION 53

TECHNOLOGY CONNECTION

"A search for specific terms

in the title field or URL will

greatly reduce the number

of hits and can significantly

improve the likelihood of

retrieving on-topic results."

SEARCHING IN THE BODYIt is also possible to limit a search for panicular terms to thebody of a document, and not search the title field or URL.However, a search limited to the body of the document is notparticularly useful. For example, a basic search in Google forMonet and biography yielded "about 270,000" results; limitingthe query to the text of rhe document via the advanced searchpage yielded "about 256,000" results. This is typical: for mostsearches there does not appear to he a significant difference inthe number of results returned between a search for terms in theentire document (title, URL, and body), and a search limited to[he body (or text) of the document.

SIMPLE, POWERFUL, EFFECTIVE, TEACHABLESimple, yet powerful, a field search that specifically targets thetitle or URL is not only an effective tool for your own use, butone that is well worth teaching to your students. Whether youchoose to introduce them to the Advanced Search Page, ordecide to teach the relatively simple syntax, your students will bepleased with this new tool. They might even be impressed withyour search savvy. ••

REFERENCESOneStat.com. "Less People Use 1 Word Phrase in SearchEngines According to OneStat.com." 24 July 2006. OneStat.com. 19 Nov. 2007. wvvw.onestat.com/html/aboutus_p ressbox4 5-search-phrases. html

William H.Weare, Jr.,/5r/)eaccess services librarian at Valparaiso

(Indiana) University, and can be reached

at [email protected].

SCREEN SHOT 2A search for north american black bear in the title field using theaUmtitle: syntax in Google.

Gmaii Star

Gopgli INMIUE: north wncrkan bl*ck bur

North Amertcin Blick BearOrMlSBvFounctKk)nPOBoi(B3B3S02EMtFroniStrMi:Ma>oul(i MT 59S07. PH |40e)B2S-B37S FAX: (406) S3»-n7B. (Tn« «mM rana*/ u w Sor« »

l b t f b

• 10 ol iboM NO tor amnUUa:n0mi amancw black baw. (0.11 aaconM j

Süonso'íM] Links

y Our. ncm nwiy ci«*Tte WQrtti Anwrican blacK bearA look SI NorUi Anwrcu- bock tieaii. Bw natKai, colorujiyi whsrItiay gfyfl Dvth \oo, nurung. ano Nhmg ir Mef cûunirYwwH ossmimepT cnnvofnoíthmiwlan.íicthlm • 16k - ÖKfiBfi •

North Amarioin BlacK B wStMut: 0«x). DM «1 vihU. Suvongv. «ting plvn M. nMCM and IWi. Uh w ti Mtd: U to 30VMTi. WMgni: MaM up to 41$ pourxli: tomalat mtr ..wwwblickpiroiclmalwKk cnrtvaj-tmafeixirs nim Tk . Cac^W - am*» (MBW

aytoaeograpfiy and plaistocane evolution in me North Anwrlç^n ,„lr«lluuir:GoaglalrMie(Signlrr«jP«rtorilSuMcrt>w Oikvd JoumolthUKulv Bokigy v«! EvokitDn Voluma U. Nun«or t1 ...

Worth Anwrtcan B w r Cantor - Quick Black a > T FactaJoomli . ihaSynamlc porW «ngln« aj^ camari FnsnaoBmaria/atam.wwH tww u^rwotoJUiVHr racu/auckeiackBHr-FKls nuTil.4tli-

Suppotlbaarconaarvanan.Vour donattin omAM, Laam rnorawww.WldMiForairar.ora

North AiwrtcMi » M r Co.Ora« MMtan of Toya i M anaU» PilMa aM Fra* SNg»«

h k d

North Amartcan Black BEAR • cub gtlmbftg Douglas Fir trae (From ...T O U - e S B N o n n Amertcar- B a c k BEAR - cuD CfenUig D n i ^ a a Fit D a a V M o w i l o r s NaUonal P a i k ,U S A u t a m amar icanu« T o m A P a l L s u o r P W m tpwm>.srdaapiinii.conVp«:iiiras_64467t/ North-Amartcan-BMek'KAIl-cuO-clmtilna-DoMlaa-Flf-liBa.hlml. S3k . C r t l a H

wnat Is Going To Happen To ttw North Amartcan Black Baar Becaus»Wh 1 G T H T N

p rth A » „.What 11 Gorg To Happer To tha NorW Amartun BMCk Baai Sscauia of GObal CMniia Cnanga.Tna • ac opriv. TM Nonh AmMcan Uack Mar la (Unui...

W V 2 0 0 W 0 2 / M f whal-a-ooM- I2k -Cac>ia^-

Composition of fal from a North Aimrtean btick ba«rCompMUy^otFaiFromaFWrthAfflarican.aiWkBMr.R.A.RASMUSSEN.P W MOROAL•KdE J - M I L L E R . M ^ I E S

Figure 2: Field Search Syntax

What search syntax is needed to search within the title orURL of the document?

TITLE:Find One Term

TITLE:Find Two orMore Terms

URL:Find One Term

URL:Find Two orMore Terms

Google

intitle:termORallintitte:term

allintitle:termterm term

inurhtermORallinurhterm

allinurhtermterm term

Yahoo! Live Search Ask

intitle:term intitle:term intitle:term

intitle:termintitle:termintitle:term

inurliterm

inurl:terminurl:terminurl:term

intitle:termintitle:termintitlerterm

Does NotWork

Does NotWork

intitle:termterm term

inurhtermterm term

Notes: Do not put a space between the colon and the first term being searched for. It isnot necessary to use the Boolean AND in a search, as AND is the default operatorin the four major search engines.

5 4 LIBRARY MEDIA CONNEQIOM August/September 2008