lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Snels" <>
Subject Simple faceted browsing
Date Thu, 06 Jul 2006 11:39:42 GMT

is anybody currently working on the following item from the tasklist?

* Simple faceted browsing (grouping) support in the standard query handler
    * group by field (provide counts for each distinct value in that field)
    * group by (query1, query2, query3, query4, query5)

I had the intention of doing it myself, but my knowledge of Java proved to
small. I had a look at DisMaxRequestHandler and the StandardRequestHandler
and even the code of Erik Hatcher. But couldn't figure out the flow. My
current solution is to send, in my case, 11 queries
(?indent=on&q=%2B#{query}+%2Bprovince:#{province} each with a different
value for the parameter province. On my development machine it is fast
enough. It would be much easier if I could add a parameter, group by and get
an xml file back with the counts. Which should be a bit faster than sending
11 requests to get the count for each. It would be great to hear from
someone who was implemented this 'simple' grouping in Solr and maybe give me
some pointers. Thanks.

Kind regards,

Nick Snels

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message