RE: Advice requested. How to map 1:M or M:M relationships with support for facets

2010-09-08 Thread Tim Gilbert
Thank you for your advice. Tim -Original Message- From: Lance Norskog [mailto:goks...@gmail.com] Sent: Tuesday, September 07, 2010 11:01 PM To: solr-user@lucene.apache.org Subject: Re: Advice requested. How to map 1:M or M:M relationships with support for facets These days the best

Re: Advice requested. How to map 1:M or M:M relationships with support for facets

2010-09-07 Thread Lance Norskog
These days the best practice for a 'drill-down' facet in a UI is to encode both the unique value of the facet and the displayable string into one facet value. In the UI, you unpack and show the display string, and search with the full facet string. If you want to also do date ranges, make a se

Advice requested. How to map 1:M or M:M relationships with support for facets

2010-09-07 Thread Tim Gilbert
Hi guys, Question: What is the best way to create a solr schema which supports a 'multivalue' where the value is a two item array of event category and a date. I want to have faceted searches, counts and Date Range ability on both the category and the dates. Details: This is a perso