Re: fq facet on double and non-indexed field

2013-05-26 Thread Erick Erickson
bq: Whats is the difference between q and fq other than cache

Very little from a functional standpoint. I.e.
q=abc AND def
and
q=abcfq=def

return the same set of results. The differences are
1 the fq clause can be cached efficiently
2 the terms in the fq clause don't contribute to the score of the document.

In terms of the requirements for how the fields are added to the index
(i.e. index=true) there's
no difference.

Best
Erick

On Thu, May 23, 2013 at 12:21 PM, Raymond Wiker rwi...@gmail.com wrote:
 On May 23, 2013, at 14:25 , gpssolr2020 psgoms...@gmail.com wrote:
 Thanks Erick..


 i  hope we cant do q also on non-indexed field.

 Whats is the difference between q and fq other than cache .



 Thanks.


 How do you expect to search on a field that is non-indexed (and thus 
 non-searchable)?


Re: fq facet on double and non-indexed field

2013-05-23 Thread Erick Erickson
bq: So cant we do fq on non-indexed field

No. By definition the fq clause is a search and
you can only search on indexed fields.

Best
Erick

On Wed, May 22, 2013 at 5:08 PM, gpssolr2020 psgoms...@gmail.com wrote:
 Hi

 i am trying to apply filtering on non-indexed double field .But its not
 returning  any results. So cant we do fq on non-indexed field?

 can not use FieldCache on a field which is neither indexed nor has doc
 values: EXCH_RT_AMT
 /str
 int name=code400/int

 We are using Solr4.2.

 Thanks.



 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/fq-facet-on-double-and-non-indexed-field-tp4065457.html
 Sent from the Solr - User mailing list archive at Nabble.com.


Re: fq facet on double and non-indexed field

2013-05-23 Thread gpssolr2020
Thanks Erick..


i  hope we cant do q also on non-indexed field.

Whats is the difference between q and fq other than cache .



Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/fq-facet-on-double-and-non-indexed-field-tp4065457p4065604.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: fq facet on double and non-indexed field

2013-05-23 Thread Raymond Wiker
On May 23, 2013, at 14:25 , gpssolr2020 psgoms...@gmail.com wrote:
 Thanks Erick..
 
 
 i  hope we cant do q also on non-indexed field.
 
 Whats is the difference between q and fq other than cache .
 
 
 
 Thanks.


How do you expect to search on a field that is non-indexed (and thus 
non-searchable)?

fq facet on double and non-indexed field

2013-05-22 Thread gpssolr2020
Hi

i am trying to apply filtering on non-indexed double field .But its not
returning  any results. So cant we do fq on non-indexed field?

can not use FieldCache on a field which is neither indexed nor has doc
values: EXCH_RT_AMT
/str
int name=code400/int

We are using Solr4.2.

Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/fq-facet-on-double-and-non-indexed-field-tp4065457.html
Sent from the Solr - User mailing list archive at Nabble.com.