Re: Question on Facet Count

2009-07-01 Thread Shalin Shekhar Mangar
On Wed, Jul 1, 2009 at 10:28 PM, Sumit Aggarwal wrote: > Hi Shalin, > Sorry for the confusion but i dont have separate index fields. I have all > information in only one index field descp. Now is it possible what you > explained. > > No, you should separate out the data in multiple fields for this

Re: Question on Facet Count

2009-07-01 Thread Sumit Aggarwal
Hi Shalin, Sorry for the confusion but i dont have separate index fields. I have all information in only one index field descp. Now is it possible what you explained. Thanks, Sumit On Wed, Jul 1, 2009 at 10:16 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Wed, Jul 1, 2009 at 10

Re: Question on Facet Count

2009-07-01 Thread Shalin Shekhar Mangar
On Wed, Jul 1, 2009 at 10:01 PM, Sumit Aggarwal wrote: > Hi Shalin, > specifying facet.query='small'&facet.query=large will actually filter the > result also.and it wont give me facet count for both at the same > time... > i will give total resultset for both these terms. No. facet.query wil

Re: Question on Facet Count

2009-07-01 Thread Sumit Aggarwal
Hi Shalin, specifying facet.query='small'&facet.query=large will actually filter the result also.and it wont give me facet count for both at the same time... i will give total resultset for both these terms. since i am very new to solr so i dont understand how facet counting behaves in that ca

Re: Question on Facet Count

2009-07-01 Thread Shalin Shekhar Mangar
On Wed, Jul 1, 2009 at 9:42 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Wed, Jul 1, 2009 at 8:25 PM, Sumit Aggarwal > wrote: > >> The example given says i can specify only one term as facet prefix. My >> Requirement is i should be able to pass few set of facet terms which will

Re: Question on Facet Count

2009-07-01 Thread Shalin Shekhar Mangar
On Wed, Jul 1, 2009 at 8:25 PM, Sumit Aggarwal wrote: > The example given says i can specify only one term as facet prefix. My > Requirement is i should be able to pass few set of facet terms which will > return me facet count for those terms only.. > > So i wanted to do some thing like > q=re

Re: Question on Facet Count

2009-07-01 Thread Sumit Aggarwal
Hi Bill, The example given says i can specify only one term as facet prefix. My Requirement is i should be able to pass few set of facet terms which will return me facet count for those terms only.. So i wanted to do some thing like q=red dress facet=true facet.field=descp facet.mincount=1 fac

Re: Question on Facet Count

2009-07-01 Thread Bill Au
You can use a facet query. Here is an example from the Solr Wiki: http://wiki.apache.org/solr/SimpleFacetParameters#head-1da3ab3995bc4abcdce8e0f04be7355ba19e9b2c Bill On Wed, Jul 1, 2009 at 8:34 AM, Sumit Aggarwal wrote: > > > > Suppose i wanted to search for red dress and i want to get facet

Re: Question on Facet Count

2009-07-01 Thread Sumit Aggarwal
> > Suppose i wanted to search for red dress and i want to get facet count for > term size-medium, size-large... Basically i wanted to get facet count for > some predefined terms in result set. How can i do it? > once i got facet count now i want result set for red dress and size-medium. > i hope i