Re: Issue with Facet Query

2009-03-20 Thread Chris Hostetter
: I am using this query only but I am getting the same results. : : : facet=true&facet.field=productPrice_product_str_s&fq=productPrice_product_str_s:[1%20TO%20100] ... : It still is not showing up the other values. Do I need to make any entry in : schema or solrConfig xml files. Do I

Re: Issue with Facet Query

2009-03-20 Thread Shalin Shekhar Mangar
And you'll need to re-index once you make the schema change. On Fri, Mar 20, 2009 at 5:24 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > What is the type of the productPrice_product_str field? I'm guessing that > it is a string type. > > Since it is a float value and you need range

Re: Issue with Facet Query

2009-03-20 Thread Shalin Shekhar Mangar
What is the type of the productPrice_product_str field? I'm guessing that it is a string type. Since it is a float value and you need range search, you should change this to a 'sfloat' or 'sdouble' in your schema.xml On Fri, Mar 20, 2009 at 5:11 PM, dabboo wrote: > > I am using this query only

Re: Issue with Facet Query

2009-03-20 Thread dabboo
I am using this query only but I am getting the same results. facet=true&facet.field=productPrice_product_str_s&fq=productPrice_product_str_s:[1%20TO%20100] - - 202 57 14 11 10 9 9 7 6 5 4 2 2 2 2 2 1 1 1 1 1 1 0 0 0

Re: Issue with Facet Query

2009-03-20 Thread Shalin Shekhar Mangar
On Fri, Mar 20, 2009 at 4:00 PM, dabboo wrote: > > Hi Shalin, > > One more thing, > > > facet.field=productPrice_product_str_s&facet.query=productPrice_product_str_s:[0%20TO%20100] > > This is my query and these are results, I am getting: > > 202 > 57 > 14 > 11 > 10 > 9 > 9 > 7 > 6 > 5 >

Re: Issue with Facet Query

2009-03-20 Thread dabboo
Hi Shalin, One more thing, facet.field=productPrice_product_str_s&facet.query=productPrice_product_str_s:[0%20TO%20100] This is my query and these are results, I am getting: 202 57 14 11 10 9 9 7 6 5 4 2 2 2 2 2 1 1 1 1 1 1 0

Re: Issue with Facet Query

2009-03-20 Thread dabboo
Thanks Shalin, thanks a lot. I appreciate your help in resolving this issue. Thanks, Amit Shalin Shekhar Mangar wrote: > > On Fri, Mar 20, 2009 at 2:27 PM, dabboo wrote: > >> >> Shalin, thanks a lot. One quick question: >> >> Now, after putting the query in the way, you suggested, I am gettin

Re: Issue with Facet Query

2009-03-20 Thread Shalin Shekhar Mangar
On Fri, Mar 20, 2009 at 2:27 PM, dabboo wrote: > > Shalin, thanks a lot. One quick question: > > Now, after putting the query in the way, you suggested, I am getting: > > - > - > 23315 > > > > > > But it is not returning me records. Do I need to enter this field entry in > schema.xml t

Re: Issue with Facet Query

2009-03-20 Thread dabboo
Shalin, thanks a lot. One quick question: Now, after putting the query in the way, you suggested, I am getting: - - 23315 But it is not returning me records. Do I need to enter this field entry in schema.xml to get the records or anywhere else. Thanks, Amit Garg Shalin She

Re: Issue with Facet Query

2009-03-20 Thread Shalin Shekhar Mangar
On Fri, Mar 20, 2009 at 1:49 PM, dabboo wrote: > > Thanks a lot for this information. But is there any way, I can impose the > range on the facet. > for e.g. If I want to search the data between a specific range, how should > I > form my query. > Use a filter query, fq=productPrice_product_str_s

Re: Issue with Facet Query

2009-03-20 Thread dabboo
Thanks a lot for this information. But is there any way, I can impose the range on the facet. for e.g. If I want to search the data between a specific range, how should I form my query. Do I need to make some entries some where. Thanks, Amit Garg Shalin Shekhar Mangar wrote: > > On Fri, Mar

Re: Issue with Facet Query

2009-03-20 Thread Shalin Shekhar Mangar
On Fri, Mar 20, 2009 at 1:14 PM, dabboo wrote: > > Hi, > > I am searching the indexes with facet query. Below is the query. > > > q=Answer&version=2.2&start=0&rows=10&indent=on&qt=dismaxrequest&facet=true&facet.field=productPrice_product_str_s:[0%20TO%2020] > facet.field takes a field name. It d