Advanced Search - Stanford Universityndushay/code4lib2010/advanced_search.p… · no "advanced"...
Transcript of Advanced Search - Stanford Universityndushay/code4lib2010/advanced_search.p… · no "advanced"...
AdvancedSearchNaomiDushay&JessieKeck
(&JenniferVine)
h"p://searchworks.stanford.edu/advanced
“Isthereno"advancedsearch,"nowaytosearchmulCplefieldsatonce,e.g.authorandCtle?Thatseemsincredible.AmImissingsomethingobvious?”
“ThefacetedsearchingisnicebutifIwanttolimitmyresultsviamysearchquery,Icannotbecausethereisno"advanced"search...IwillhavetoentermysearchtermandthenwaitfortheresultstoappearbeforebeingabletorefinethesearchbyclickingonthelinksthatappeartotheleMoftheresults.“
“Whenarewegoingtoget"advancedsearching”?FacultyandgraduatestudentsneedthatandIamsuresomeundergradswouldappreciateittoo”
“ThefacetedsearchingisnicebutifIwanttolimitmyresultsviamysearchquery,Icannotbecausethereisno"advanced"search...IwillhavetoentermysearchtermandthenwaitfortheresultstoappearbeforebeingabletorefinethesearchbyclickingonthelinksthatappeartotheleMoftheresults.“
“SomeCmesweneedthatkindofprecisionsearchingasastarCngpoint.IfindthatIcanenteranauthorandaCtleandgetagoodresultinthisversion,butwhataboutotherlimitsonthefirstentry,suchasdatesorformats.Iwouldprefertogetalistofhitswithpreviouslysetlimits,ratherthansePng/focusingthelimitsaMertheiniCalsearch.”
Author+Title
“IwouldliketoseecombinedsearchingfeaturesothatIcanspecifytheauthorandCtle.”
h"p://www.gearpipe.com/i/Mozart.jpg
Search:
Author+Title
PersonalName
ArtcatalogingpracCcesareinconsistent:personalnamecanbeauthor,subject,addedauthor…
Subject
Author&Subject
AddedAuthor
Subject&AddedAuthor
CombiningMulCpleFacetValues“IwouldlovetobeabletoselectmulCplefacets…Forexample,I
wouldliketodoasearchthenlimittoBook*and*Video.”
“permittheselecConofmulCplecharacterisCcsfromthebrowsingpanelontheright.Forinstance,IoMenfindmyselflookingforsourcesinbothSpanishandEnglish,anditwouldbegreattoselectbothofthesecriteriaandsearchforallthosebooksthatareineitherSpanishorEnglish.Thesamewouldbegreat,too,forsearchingavarietyofdifferentlibraryfaciliCes,etc.atthesameCme.”
“opContolimitqueriesbymulCplelocaConsusingcheckboxes.”
Publisher+Place+Date
“HowdoIsearchbypublisherANDplaceANDyearallatthesameCme?Forexample…"Instress,Saratoga,1999"…IoMensearchpublisherANDyear,orpublisherANDplaceofpublicaCon,andoccasionallyneedallthreetermsincombinaCon.”
BooleanOR
“…lesbianORgay…”
“…uighurORuyghurORuygharORuigher…”
“…franceORfrench…”
“…themesORsymbolism…”
NoneOfthesewords
AnyOfthesewords
AllOfthesewords
Title
Author
Subject
Publisher
h"p://farm4.sta?c.flickr.com/3214/3154090768_c9df9d13d0.jpg
Author+Title
PersonalName
PublicaCon
CombinedFacets
Book
Journal
Video
Newspaper
BooleanAND
OR
NOT
Author+Title
PersonalName
PublicaCon
CombinedFacets
Book
Journal
Video
Newspaper
BooleanAND
OR
NOT
CheckboxFacets
Boolean
PersonalName
Author+Title
PublicaCon
Keywordisn
otfirst!
A:notinad
vancedsear
chscenarios
“Keywordsin item descrip,on”?A:expectaConoffulltext
“Subjectterms”?A:needtoconveycontrolledvocabulary
UsersMiss“Sortresultsby”atboeom
UsersDon’tUnderstand“KeywordinitemdescripCon,”sotheydon’tuseit.
PersonalNameScenario:toseek“creatororsubject,”youmustenternametwice.
Author+Titlenotyetindexedproperly–falsehits
Phrases(withquotes)don’tgetresults
RangeofPublicaConDatesdesired
SubjectRefinements(Region,Genre…)
Feature Lucene Dismax
Boolean √
EachTextBox‐>GroupsofIndexFields √ √
EachTextBox‐>ComplexBoosCngEquaCon yuck √
MulCpleTextBoxes yuck √
MulCpleQueryWordsMatchAcrossFields √
BoosCngMatchesSimple“Author”“Title”“Subject”Searches
√
Feature Lucene Dismax
Boolean √
EachTextBox‐>MulCpleIndexFields √ √
EachTextBox‐>ComplexBoosCngEquaCon yuck √
MulCpleTextBoxes yuck √
MulCpleQueryWordsMatchAcrossFields √
BoosCngMatchesSimple“Author”“Title”“Subject”Searches
√
“Advancedsearch:"nabokovpushkin"in"Name[creator]"givesonly1hit…Butthissearchfailstoretrieve…“
h"p://1.bp.blogspot.com/_‐‐YjWiyF8eE/Skv‐c1U0uyI/AAAAAAAAE1w/HlGS6tp5Fxg/s400/1‐dudley.jpg
qt=search_author&q=pushkinnabokov&debugQuery=true
h"p://www.stanford.edu/people/~ndushay/code4lib2010/advSearchSolrQueries.pdf
h"p://www.stanford.edu/people/~ndushay/code4lib2010/advSearchSolrQueries.pdf
_query_:”{!dismaxqf=$qf_authorpf=$pf_author}[xformed‐query‐terms]”
_query_:”{!dismaxqf=$qf_Ctlepf=$pf_Ctle}[xformed‐query‐terms]”
CombiningTextBoxes(boolean)h"p://www.stanford.edu/people/~ndushay/code4lib2010/advSearchSolrQueries.pdf
QueryTermTransforma?ons
h"p://www.stanford.edu/people/~ndushay/code4lib2010/advSearchSolrQueries.pdf
h"p://www.stanford.edu/people/~ndushay/code4lib2010/advSearchSolrQueries.pdf
h"p://www.stanford.edu/people/~ndushay/code4lib2010/advSearchSolrQueries.pdf
Feature Lucene Dismax
Boolean √ √
EachTextBox‐>MulCpleIndexFields √ √
EachTextBox‐>ComplexBoosCngEquaCon yuck √
MulCpleTextBoxes yuck √
MulCpleQueryWordsMatchAcrossFields √
BoosCngMatchesSimple“Author”“Title”“Subject”Searches
√
fq=format:(BookORVideo)
2/23/10
ChallengesinImplemenCngAdvancedSearch
MulC‐selectfacets MaketheusereasilyawareofthecurrentfacetselecCons
IntegraConwithcurrentUI FaceCng SearchBreadcrumbs
2/23/10
MulC‐selectFacets
2/23/10
AcConablefacetsinsearchresults
2/23/10
AcConablefacetsinsearchresults
2/23/10
IntegraConwithcurrentUI
Removelinksforfacetsonlyinrefinecolumn Constraintsareagetstoo
clu"eredwiththatmanypoten?alremovelinks
Youremoveen?researchfieldsnotindividualwordsfromconstraints Thistooreducesclu"er
2/23/10
AdvancedSearchinBlacklight
Separateinstallableplugin
1configuraConfile ConfiguraConfiledoes2things
Generatestheadvancedsearchform
MapssePngsinrequesthandlerforqueryparser
2/23/10
“Huzzah!”