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
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.
>
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:
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
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):
> 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
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
>
(repost with a fresh email)
I read that a simple way to implement hierarchical facet is to
concatenate strings with a separator. Something like
"level1>level2>level3" with ">" as the separator.
A problem with this approach is that the number of facet values will greatly
increase.
For
example I
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
: 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
I read that a simple way to implement hierarchical facet is to concatenate
strings with a separator. Something like "level1>level2>level3" with ">" as the
separator.
A problem with this approach is that the number of facet values will greatly
increase.
For example I have a facet "Location" wit
11 matches
Mail list logo