lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Bolser <dbol...@ebi.ac.uk>
Subject Re: Field for 'species' data?
Date Fri, 04 Jul 2014 15:57:52 GMT
The problem is that each document has a single species (or
super-species, or sub-species), and needs to get information about
it's place in the hierarchy 'elsewhere', i.e. in an externally encoded
hierarchy.

I don't, for example, have data in this format:
SPECIES: "Hordeum / Hordeum vulgare / Hordeum vulgare var. hybernum"

but rather
SPECIES: "Hordeum vulgare".

How can I add in that data at analysis time?


Cheers,
Dan.


On 4 July 2014 04:19, Gora Mohanty <gora@mimirtech.com> wrote:
> On 3 July 2014 21:40, Dan Bolser <dbolser@ebi.ac.uk> wrote:
>>
>> Hi,
>>
>> Does anyone on the list have experience with hierarchical facets,
>> specifically for species data?
> [...]
>
> Maybe not specifically for species data, but hierarchical faceting works
> pretty well with Solr. Please see
> http://wiki.apache.org/solr/HierarchicalFaceting
> For your use case, I would probably use pivot facets:
> http://wiki.apache.org/solr/HierarchicalFaceting#Pivot_Facets
>
> Regards,
> Gora

Mime
View raw message