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
None that I know of, short of writing a custom search component. Seriously, you could hack up a copy of the stats component with your own logic. Actually... this may be a case for the new, proposed Script Request Handler, which would let you execute a query and then you could do any custom Jav