## ZNG@C4VLPLISTSERV01.LOC.GOV

#### View:

 Message: [ First | Previous | Next | Last ] By Topic: [ First | Previous | Next | Last ] By Author: [ First | Previous | Next | Last ] Font: Proportional Font

Subject:

Re: Proximity search and Brahmagupta

From:

SRU (Search and Retrieve Via URL) Implementors

Date:

Wed, 30 Nov 2005 10:16:48 -0500

Content-Type:

text/plain

Parts/Attachments:

 text/plain (95 lines)
 Perhaps a better example is a book, where chapters, sections, etc. have an explicit order to them. Not all of the heirarchical material in the world is unordered. -markh ----- Original Message ----- From: "Edward C. Zimmermann" <[log in to unmask]> To: <[log in to unmask]> Sent: Tuesday, November 29, 2005 2:00 PM Subject: Re: Proximity search and Brahmagupta > Quoting "LeVan,Ralph" <[log in to unmask]>: > >> >> >> I've built systems with proximity across elements. Imagine this case: >> >> C. J. Cherryh >> Brother at Arms >> Terry Pratchett >> Small Gods >> > > I don't quite understand what you are trying to markup? > What's the semantics? Multiple titles, multiple authors? > >> >> I'm looking to see if Cherryh wrote "Brother at Arms". The search is: >> Author=cherryh prox/unit=element/distance=1 title="brother at arms" >> >> That means that the author must occur in the element immediately >> preceeding the title. > > A very usefull query in something like: > > > > C. J. Cherryh > Brother at Arms > > > Terry Pratchett > Small Gods > > > > But it it not really the search for Cherrh as author and book title > "Brothers at Arms" in the same rec\item instance? > > author=Cherryh AND:rec\item title="Brother at Arms" > > which I get as op you'd do prox/unit=item/distance=0 > > (assuming that item only appears in the path ) > > I must admit.. given something like: > > C. J. Cherryh > Brother at Arms > Terry Pratchett > Small Gods > > > I could not do what you want.. > Pragmatics would drive me to filter your input and add some tags > like as above to allow me to get the answers you want but... > > So by element what's the metric? Is each opening a count of an > element > or each opening and closing? Or? > > Word1 word2 > > How far is Word1 from word2 ? > > And here? > word1word2 > > > > > > > ---- > Edward C. Zimmermann, Basis Systeme netzwerk, Munich > Office Leo (R&D): > Leopoldstrasse 53-55, D-80802 Munich, > Federal Republic of Germany > Telephone: Voice:= +49 (89) 385-47074 Corp.Fax:= +49 (89) 692-8150 > Nomadic (SMS/MMS/Fax):= +49 (176) 100-360-55 Alt.Mobile:= +49 (179) > 205-0539 > http://www.nonmonotonic.net >