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 veena rani <ve...@gmail.com> on 2012/12/17 08:07:00 UTC

Faceted result , based on words specified in search query.

  Hi,

   If searched for three words in query.

> Eg:
> Sony, Samsung,LG.
> i should get faceted result with the count ,combination of two among them
> like,
> 1.Sony, Samsung
> 2.Samsung,LG
> 3.LG,Sony
> and also the number of available for each of them
> and also all of them.
>
> --
> Regards,
> Veena Rani P N
> Banglore.
> 9538440458
>
>


-- 
Regards,
Veena Rani P N
Banglore.
9538440458

Re: Faceted result , based on words specified in search query.

Posted by Upayavira <uv...@odoko.co.uk>.
You can facet on terms in a field. When a document is selected, you
cannot facet on some terms for a field in that document, and not others.

In your case, if Sony, Samsung and LG were in your 'manufacturer' field,
and that is what you searched across, then surely it would be
straight-forward to create a facet that shows which of them matched. 

If you want combinations, you should do that at display time.

Upayavira

On Mon, Dec 17, 2012, at 07:07 AM, veena rani wrote:
>   Hi,
> 
>    If searched for three words in query.
> 
> > Eg:
> > Sony, Samsung,LG.
> > i should get faceted result with the count ,combination of two among them
> > like,
> > 1.Sony, Samsung
> > 2.Samsung,LG
> > 3.LG,Sony
> > and also the number of available for each of them
> > and also all of them.
> >
> > --
> > Regards,
> > Veena Rani P N
> > Banglore.
> > 9538440458
> >
> >
> 
> 
> -- 
> Regards,
> Veena Rani P N
> Banglore.
> 9538440458