lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: faceted browsing
Date Wed, 29 Mar 2006 19:30:07 GMT
On 3/29/06, Clay Webster <webster.lists@gmail.com> wrote:
> How could faceted browsing be accomplished without [Chris's] metadata
> documents?

The most basic form:

consider if a field called "category" existed on each document.
You could then ask for the counts of the top 10 values in category
field for all of the documents matching a query.

Possible syntax:   my user query; groupByField(category,10)

Another form would require the user to enumerate the facets... this
would work well for things like price ranges:

Possible syntax:   my user query; groupByQueries(price:[0 TO 10},
price:[10 TO 100}, price:[100 TO 1000})

And of course, one would want to be able to specify them all in a single query:

my user query; groupByField(category,10), groupByField(author,20),
groupByQueries(price:[0 TO 10}, price:[10 TO 100}, price:[100 TO
1000})


The thing that Chris' metadata documents also did was tell you *what*
facets to do, but that logic could also be kept in the client. 
Standardizing that is probably currently beyond the scope of what we
could put in the standard request handler.

-Yonik

Mime
View raw message