You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Thomas Martin <Th...@corbis.com> on 2010/09/15 22:23:17 UTC

Handling Aggregate Records/Roll-up in Solr

Can someone point me to the mechanism in Sol that might allow me to
roll-up or aggregate records for display.  We have many items that are
similar and only want to show a representative record to the user until
they select that record.  

 

As an example - We carry a polo shirt and have 15 records that represent
the individual colors for that shirt.  Does the query API provide anyway
to rollup the records passed on a property or do we need to just flatten
the representation of the shirt in the data model.

 

 

 


Re: Handling Aggregate Records/Roll-up in Solr

Posted by Markus Jelsma <ma...@buyways.nl>.
You should " just flatten the representation of the shirt in the data model."


On Wednesday 15 September 2010 22:23:17 Thomas Martin wrote:
> Can someone point me to the mechanism in Sol that might allow me to
> roll-up or aggregate records for display.  We have many items that are
> similar and only want to show a representative record to the user until
> they select that record.
> 
> 
> 
> As an example - We carry a polo shirt and have 15 records that represent
> the individual colors for that shirt.  Does the query API provide anyway
> to rollup the records passed on a property or do we need to just flatten
> the representation of the shirt in the data model.
> 

Markus Jelsma - Technisch Architect - Buyways BV
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350


Re: Handling Aggregate Records/Roll-up in Solr

Posted by Dennis Gearon <ge...@sbcglobal.net>.
Look for faceting or field collapsing.


Dennis Gearon

Signature Warning
----------------
EARTH has a Right To Life,
  otherwise we all die.

Read 'Hot, Flat, and Crowded'
Laugh at http://www.yert.com/film.php


--- On Wed, 9/15/10, Thomas Martin <Th...@corbis.com> wrote:

> From: Thomas Martin <Th...@corbis.com>
> Subject: Handling Aggregate Records/Roll-up in Solr
> To: solr-user@lucene.apache.org
> Date: Wednesday, September 15, 2010, 1:23 PM
> Can someone point me to the mechanism
> in Sol that might allow me to
> roll-up or aggregate records for display.  We have
> many items that are
> similar and only want to show a representative record to
> the user until
> they select that record.  
> 
>  
> 
> As an example - We carry a polo shirt and have 15 records
> that represent
> the individual colors for that shirt.  Does the query
> API provide anyway
> to rollup the records passed on a property or do we need to
> just flatten
> the representation of the shirt in the data model.
> 
>  
> 
>  
> 
>  
> 
>