lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aakash Dharmadhikari <aaka...@gmail.com>
Subject Re: Schema for group/child entity setup
Date Fri, 04 Sep 2009 15:57:09 GMT
can't you store the locations as part of the parent listing while storing.
This way there would be only one document per parent listing. And all the
locations related information can be multi valued attributes per property or
any other way depending on the attributes.

2009/9/3 R. Tan <tanrihaed58@gmail.com>

> Hi Solrers,
> I would like to get your opinion on how to best approach a search
> requirement that I have. The scenario is I have a set of business listings
> that may be group into one parent business (such as 7-eleven having several
> locations). On the results page, I only want 7-eleven to show up once but
> also show how many locations matched the query (facet filtered by state,
> for
> example) and maybe a preview of the some of the locations.
>
> Searching for the business name is straightforward but the locations within
> the a result is quite tricky. I can do the opposite, searching for the
> locations and faceting on business names, but it will still basically be
> the
> same thing and repeat results with the same business name.
>
> Any advice?
>
> Thanks,
> R
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message