OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

search-ws-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [search-ws-comment] Facet ranges in SRU 2.0


Sorry I've not responded to this earlier.  I've been out of town.

> From: Edo Plantinga [mailto:Edo.Plantinga@ictu.nl] 
> Sent: Tuesday, August 24, 2010 9:35 AM
>
> My response to this: Ok, now I see that the *client* can request a
facet.
> However, I still cannot see how you would define the
<facetDisplayLabel>
> (ie the text that is displayed to the user) in the request parameters.
I do see
> the <facetDisplayLabel> in the response XML, so where is that defined?
> Server-side? If so, is there also a way to define something like
> <rangeFacetLabel>Last week</rangeFacetLabel> in the request
parameters?

We have 2 concepts getting confused here, because we're missing
something in our response.

The facetDisplayLabel applies to an entire facet, not to a specific
facet term.  So, in Edo's case, the facetDisplayLabel could be used to
label the facet "Previous Issues" for instance.

I think what Edo is looking for is a new sub-element in the <term>
element.  Currently, I see <actualTerm>, <query>, <requestUrl> and
<count>.  I'd propose adding an optional <displayTerm>.

Now, Edo can return a facet response that groups his terms as "Previous
Issues" and each term can have <displayTerm>s of "Yesterday", "Last
Week", etc., with the associated queries that retrieve the appropriate
documents.

I don't think this is something that is controlled by the client in any
way.  It can't suggest values for the displayTerms and probably
shouldn't bother trying to control whether they get returned.  The
server will return them when it thinks that the label is more useful to
a human than the actualTerm is.

Edo, I think this is what you're asking for.  If so, let us know and
I'll recommend adding it to the standard.

Ralph



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]