Re: FAcet with " " values are displayes in output

2013-09-18 Thread Upayavira
q=country:[* TO *] will find all docs that have a value in a field.
However, it seems you have a space, which *is* a value. I think Eric is
right - track down that record and fix the data.

Upayavira

On Wed, Sep 18, 2013, at 09:23 AM, Prasi S wrote:
> How to filter them in the query itself?
> 
> Thanks,
> Prasi
> 
> 
> On Wed, Sep 18, 2013 at 1:06 PM, Upayavira  wrote:
> 
> > Filter them out in your query, or in your display code.
> >
> > Upayavira
> >
> > On Wed, Sep 18, 2013, at 06:36 AM, Prasi S wrote:
> > > Hi ,
> > > Im using solr 4.4 for our search. When i query for a keyword, it returns
> > > empty valued facets in the response
> > >
> > > 
> > > 
> > > 
> > > 
> > > *1*
> > > 1
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > > I have also tried using facet.missing parameter., but no change. How can
> > > we
> > > handle this.
> > >
> > >
> > > Thanks,
> > > Prasi
> >


Re: FAcet with " " values are displayes in output

2013-09-18 Thread Prasi S
No analysis is done on the facets. The facets are string fields.


On Wed, Sep 18, 2013 at 11:59 PM, tamanjit.bin...@yahoo.co.in <
tamanjit.bin...@yahoo.co.in> wrote:

> Any analysis happening on the country field during indexing? If so then
> facets are on tokens.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/FAcet-with-values-are-displayes-in-output-tp4090777p4090904.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: FAcet with " " values are displayes in output

2013-09-18 Thread tamanjit.bin...@yahoo.co.in
Any analysis happening on the country field during indexing? If so then
facets are on tokens.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/FAcet-with-values-are-displayes-in-output-tp4090777p4090904.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: FAcet with " " values are displayes in output

2013-09-18 Thread Erik Hatcher
This is likely because you added an empty value to the Country field for one 
(in that result set) document.  I imagine this is a data issue and that you 
either need to clean up the data or avoid indexing blank values.

Erik

On Sep 18, 2013, at 1:36 AM, Prasi S  wrote:

> Hi ,
> Im using solr 4.4 for our search. When i query for a keyword, it returns
> empty valued facets in the response
> 
> 
> 
> 
> 
> *1*
> 1
> 
> 
> 
> 
> 
> 
> I have also tried using facet.missing parameter., but no change. How can we
> handle this.
> 
> 
> Thanks,
> Prasi



Re: FAcet with " " values are displayes in output

2013-09-18 Thread Prasi S
How to filter them in the query itself?

Thanks,
Prasi


On Wed, Sep 18, 2013 at 1:06 PM, Upayavira  wrote:

> Filter them out in your query, or in your display code.
>
> Upayavira
>
> On Wed, Sep 18, 2013, at 06:36 AM, Prasi S wrote:
> > Hi ,
> > Im using solr 4.4 for our search. When i query for a keyword, it returns
> > empty valued facets in the response
> >
> > 
> > 
> > 
> > 
> > *1*
> > 1
> > 
> > 
> > 
> > 
> > 
> >
> > I have also tried using facet.missing parameter., but no change. How can
> > we
> > handle this.
> >
> >
> > Thanks,
> > Prasi
>


Re: FAcet with " " values are displayes in output

2013-09-18 Thread Upayavira
Filter them out in your query, or in your display code.

Upayavira

On Wed, Sep 18, 2013, at 06:36 AM, Prasi S wrote:
> Hi ,
> Im using solr 4.4 for our search. When i query for a keyword, it returns
> empty valued facets in the response
> 
> 
> 
> 
> 
> *1*
> 1
> 
> 
> 
> 
> 
> 
> I have also tried using facet.missing parameter., but no change. How can
> we
> handle this.
> 
> 
> Thanks,
> Prasi


FAcet with " " values are displayes in output

2013-09-17 Thread Prasi S
Hi ,
Im using solr 4.4 for our search. When i query for a keyword, it returns
empty valued facets in the response





*1*
1






I have also tried using facet.missing parameter., but no change. How can we
handle this.


Thanks,
Prasi