[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [search-ws-comment] Suggestions for SRU 2.0 specification document
Hi all,
Thank you for thinking with us on the facets. Last week there have
been some posts on this topic and Ralph and me had a telephone conversation that
clarified some things as well. I'll give a summary with my ideas after the
>>>:
Ray rightly asked about the server-defined vs. the client-defined
facets:
"Edo - Before we carry this discussion further, can you clarify, which of these two models are we talking about in your case? " >> I believe this where my original confusion stems from. As I have understood there is a mechanism to define * one facet term only * by the client (through facetLowValue and facetHighValue). So a client might define "Last week" as having a datePublished with a facetLowValue of for example September 8 and a facetHighValue of September 1. If the client also wanted to have a facet of "Last month" *at the same time* then that would not be possible.
So, we will go for the alternative model that Ray suggested: "One can envision a different model, where the server groups publication dates by months, so there is a facet for 'August2010', 'July2010', etc. (Perhaps it is still one big index, but the server is exposing different facets by month. And listing via Explain.) In this case if the client wants "August 1, 2010 through August 31, 2010" then it specifies the August2010 facet - but of course if it want July 15 through August 15 it is out of luck; the ranges are pre-assigned by the server. "
In other words, we'll use the model that Edward Zimmerman proposed: "The publishedLastWeek etc. are nothing more
than date range attributes using a special local value. The server would
interpret what this means.. The client, by contrast, just sees the value.. and
can use it.. In that sense it nothing really different from a search restriction
to those records whose value of some field contains a term..
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]