Re: Implementing hierarchical facet

2010-03-03 Thread Andy
This dynamicfield feature is great. Didn't know about it. Thanks! --- On Wed, 3/3/10, Geert-Jan Brits wrote: From: Geert-Jan Brits Subject: Re: Implementing hierarchical facet To: solr-user@lucene.apache.org Date: Wednesday, March 3, 2010, 5:04 AM you could always define 1 dynamicfiel

Re: Implementing hierarchical facet

2010-03-03 Thread Geert-Jan Brits
vels in the hierarchy. Adding any > levels beyond that requires schema modification > > Does that sound right? > > Option 3 is probably the best match for my use case. Is there any trick to > make it able to deal with arbitrary number of levels? > > Thanks. >

Re: Implementing hierarchical facet

2010-03-02 Thread Andy
it able to deal with arbitrary number of levels? Thanks. --- On Tue, 3/2/10, Geert-Jan Brits wrote: From: Geert-Jan Brits Subject: Re: Implementing hierarchical facet To: solr-user@lucene.apache.org Date: Tuesday, March 2, 2010, 8:02 PM Using Solr 1.4: even less changes to the frontend:

Re: Implementing hierarchical facet

2010-03-02 Thread Geert-Jan Brits
Using Solr 1.4: even less changes to the frontend: &facet=on&facet.field={!key=Location}countryid ... &facet=on&facet.field={!key=Location}cityid&fq=countryid: etc. will consistently render the resulting facet under the name "Location" . 2010/3/3 Geert-Jan Brits > If it's a requirement to let

Re: Implementing hierarchical facet

2010-03-02 Thread Geert-Jan Brits
If it's a requirement to let Solr handle the facet-hierarchy please disregard this post, but an alternative would be to have your App control when to ask for which 'facet-level' (e.g: country, state, city) in the hierarchy. as follows, each doc has 3 seperate fields (indexed=true, stored=false):

Re: Implementing hierarchical facet

2010-03-02 Thread Koji Sekiguchi
> Ideally Solr would be "aware" of the hierarchy structure and > send back responses accordingly. If I understand it correctly, SOLR-64 supports them I think? > So at level 1 Solr will send back facet values based on country (100 or so values). &facet=on&facet.depth=1 ? > Level 2 the facet v

RE: Implementing hierarchical facet

2010-03-02 Thread Peter S
Hi Andy, It sounds like you may want to have a look at tree faceting: https://issues.apache.org/jira/browse/SOLR-792 > Date: Mon, 1 Mar 2010 18:23:51 -0800 > From: angelf...@yahoo.com > Subject: Implementing hierarchical facet > To: solr-user@lucene.apache.org > > I read that a simp

Re: Implementing hierarchical facet

2010-03-01 Thread Andy
Oops. Sorry about that. I'll start a fresh one. --- On Mon, 3/1/10, Chris Hostetter wrote: From: Chris Hostetter Subject: Re: Implementing hierarchical facet To: solr-user@lucene.apache.org Date: Monday, March 1, 2010, 11:36 PM : Subject: Implementing hierarchical facet : In-Rep

Re: Implementing hierarchical facet

2010-03-01 Thread Chris Hostetter
: Subject: Implementing hierarchical facet : In-Reply-To: <4b8c7213.9080...@axtaweb.com> http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email.