On 3/7/06, Corey Tisdale <[EMAIL PROTECTED]> wrote: > Is there any way to get metadata about a search result off of > this bad dog?
Hi Corey, >From the standard request handler, you can currently only get the stored fields of documents that matched a query, and the relevancy score of each document. > I am trying to find a good way to search through > several million items, and I think that being able to aggregate data > about the results would help people refine the search, so if they > search for "legal" I could show a result set with 22000 books but > then also ask if they meant thrillers or test prep or career > planning, etc. This type of functionality has been implemented with Solr (faceted browsing), but it's not out-of-the-box functionality - you need to implement a request handler to calculate and return this extra data. See here for an explanation on how CNET did it: http://www.mail-archive.com/java-user@lucene.apache.org/msg02645.html Simple built-in faceted browsing support is planned though... from http://wiki.apache.org/solr/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) Would that meet your needs? -Yonik