Re: How to set a condition over stats result

2013-10-04 Thread Steven Bower
al Message- From: mihaela olteanu > Sent: Friday, July 12, 2013 1:44 AM > To: solr-user@lucene.apache.org > > Subject: Re: How to set a condition over stats result > > What if you perform sub(sum(myfieldvalue),100) > 0 using frange? > > > __*

Re: How to set a condition over stats result

2013-07-12 Thread Jack Krupansky
ies is not an aggregate function. Ditto for min and max. -- Jack Krupansky -Original Message- From: mihaela olteanu Sent: Friday, July 12, 2013 1:44 AM To: solr-user@lucene.apache.org Subject: Re: How to set a condition over stats result What if you perform sub(sum(myfieldvalue),100)

Re: How to set a condition over stats result

2013-07-11 Thread mihaela olteanu
What if you perform sub(sum(myfieldvalue),100) > 0 using frange? From: Jack Krupansky To: solr-user@lucene.apache.org Sent: Friday, July 12, 2013 7:44 AM Subject: Re: How to set a condition over stats result None that I know of, short of writing a cus

Re: How to set a condition over stats result

2013-07-11 Thread Jack Krupansky
Lieber Sent: Thursday, July 11, 2013 6:08 PM To: solr-user@lucene.apache.org Subject: How to set a condition over stats result Hello, I am trying to see how I can test the sum of values of an attribute across docs. I.e. Whether sum(myfieldvalue)>100 . I know I can use the stats module wh

How to set a condition over stats result

2013-07-11 Thread Matt Lieber
> Hello, I am trying to see how I can test the sum of values of an attribute across docs. I.e. Whether sum(myfieldvalue)>100 . I know I can use the stats module which compiles the sum of my attributes on a certain facet , but how can I perform a test this result (i.e. Is sum>100) within my stats