Re: Faceted search question (Tokenizing)

2012-10-10 Thread Grapes
Here is another simpler example of what I am trying to achieve:

Multi-Valued Field 1:
Data 1
Data 2
Data 3
Data 4

Multi-Valued Field 2:
Data 11
Data 12
Data 13
Data 14

Multi-Valued Field 3:
Data 21
Data 22
Data 23
Data 24


How can I specify that Data 1,Data 11 and data 21 are all related? And if I
facet Data 1 + Data 11, I only want to see Data 21.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Faceted-search-question-Tokenizing-tp4012948p4012956.html
Sent from the Solr - User mailing list archive at Nabble.com.


Faceted search question (Tokenizing)

2012-10-10 Thread Grapes
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.


RE: Faceted search question (Tokenizing)

2012-10-10 Thread Petersen, Robert
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.