What do you want the results to be, persons? And the facets should be
interests or subinterests? Why are there two layers of interests anyway? Can
there my many subinterests under one interest? Is one of those two a name of
the interest which would look nice as a facet?
Anyway, have you read these pages yet? These should get you started in the
right direction.
http://wiki.apache.org/solr/SolrFacetingOverview
http://wiki.apache.org/solr/HierarchicalFaceting
Hope that helps,
Robi
-Original Message-
From: Grapes [mailto:mkloub...@gmail.com]
Sent: Wednesday, October 10, 2012 8:52 AM
To: solr-user@lucene.apache.org
Subject: Faceted search question (Tokenizing)
Hey There,
We have the following data structure:
- Person
-- Interest 1
--- Subinterest 1
--- Subinterest 1 Description
--- Subinterest 1 ID
-- Interest 2
--- Subinterest 2
--- Subinterest 2 Description
--- Subinterest 2 ID
.
-- Interest 99
--- Subinterest 99
--- Subinterest 99 Description
--- Subinterest 99 ID
Interest, Subinterest, Subinterest Description and Subinterest IDs are all
multiavlued fields. A person can have any number of subinterests,descriptions
and IDS.
How could we faced/search this based on this data structure? Right now we
tokenized everything in a seperate multivalued column in the following fasion;
|Interest='Interest 1',Subinterest='Subinterest 1',Subinterest='Another
Subinterest 1',Description='Interest 1 Description',ID='Interest 1 ID'|
|Interest='Interest 2',Description='Interest 2 Description',ID='Interest
|2
ID'|
I have a feeling like this is a wrong approach to this problem.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Faceted-search-question-Tokenizing-tp4012948.html
Sent from the Solr - User mailing list archive at Nabble.com.