Print

Print


What am I missing here? Unless I'm oversimplifying, it seems that what we
want is to do a query like "title=rabbit" and then get a summary breakdown
(number of titles) by author.

The summary could be requested and returned via
extraRequest/extraResponseData.

Or let the client do it. Search "title=rabbit", sort on author, define an
element set (i.e. schema) that consists of author only, retrieve the whole
result set according to that schema, and let the client create the summary.
Or retrieve the first N records (100, 1000, ...) create a summary from
those, then see if the user wants the next N records.

--Ray

----- Original Message ----- 
From: "Mike Taylor" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Thursday, August 10, 2006 12:13 PM
Subject: Functionality mapping?


> Erwin Wessels writes:
>  > - The scan operation allows for (a.o.) hit-count information, but
>  > only for a term in a specific index. How could we retrieve the
>  > hitcount for a particular search string for *multiple* index fields
>  > separately?
>
> What's wrong with multiple scans -- one for each such index?
>
> Or if you want the aggregate number of hits for your search-terms
> across all relevant indexes, then define an index which is the union
> of those indexes, and scan on that.
>
>  > - Drill-down enabling information: information on hit counts for
>  > refining for (possibly) indicated indexes.
>  > In other words, functionally speaking, I'm looking for the
>  > refinement options when searching for title 'rabbit', for the index
>  > 'author' and a maximum records it would tell me 'Potter, Beatrix'
>  > (105 results), 'Wells, Rosemary' (63 results), 'Carroll, Lewis' (41
>  > results), and 954 more refinements.
>
> To do this, I think you need "scan within result-set", which is not
> supported in the SRU protocol.  The most economical way to provide
> access to such functionality in an underlying database would be to
> make an extension, using an <extraRequestInfo> element in SRW and an
> equivalent x-Whatever parameter in SRU, to tell the server the name of
> the result-set that you want it to scan.
>
>  _/|_ ___________________________________________________________________
> /o ) \/  Mike Taylor  <[log in to unmask]>
http://www.miketaylor.org.uk
> )_v__/\  "The fighting must begin before another someone dies" -- Ritchie
> Blackmore's Rainbow, _16th Century Greensleeves_.  Eh?