Re: 400 error with boost and exists()

2013-01-16 Thread Yonik Seeley
On Wed, Jan 16, 2013 at 6:42 PM, Walter Underwood wrote: > Ah, that would be it. Does 4.0 also give a stack trace if you call a function > that doesn't exist? Stack trace still appears in the logs, but the error message returned seems OK: http://localhost:8983/solr/query?q=*:*&defType=edismax&b

Re: 400 error with boost and exists()

2013-01-16 Thread Walter Underwood
Ah, that would be it. Does 4.0 also give a stack trace if you call a function that doesn't exist? I can achieve most of what I want with bq, though that has IDF, which I'd rather avoid here. wunder On Jan 16, 2013, at 3:38 PM, Yonik Seeley wrote: > On Wed, Jan 16, 2013 at 6:35 PM, Walter Unde

Re: 400 error with boost and exists()

2013-01-16 Thread Chris Hostetter
: None of the variants worked. I started with that syntax for both : exists() and if(). All gave the same stack trace. --wunder ... : We're running Solr 3.3 and I have a function query for boosting that : works with bq but not ...i'm very confused. All of the "boolean" functions (lik

Re: 400 error with boost and exists()

2013-01-16 Thread Yonik Seeley
On Wed, Jan 16, 2013 at 6:35 PM, Walter Underwood wrote: > None of the variants worked. I started with that syntax for both exists() and > if(). All gave the same stack trace. --wunder These boolean functions are new for 4.0, but it looks like you're using 3.3? -Yonik http://lucidworks.com

Re: 400 error with boost and exists()

2013-01-16 Thread Walter Underwood
None of the variants worked. I started with that syntax for both exists() and if(). All gave the same stack trace. --wunder On Jan 16, 2013, at 3:32 PM, Yonik Seeley wrote: > On Wed, Jan 16, 2013 at 6:11 PM, Walter Underwood > wrote: >> I got the syntax from: >> http://lucidworks.lucidimagina

Re: 400 error with boost and exists()

2013-01-16 Thread Yonik Seeley
On Wed, Jan 16, 2013 at 6:11 PM, Walter Underwood wrote: > I got the syntax from: > http://lucidworks.lucidimagination.com/display/solr/Function+Queries Oops, I've alerted our tech writers! It should be fixed now. exists(field|function) returns true if a value exists for a given document. Exam

Re: 400 error with boost and exists()

2013-01-16 Thread Walter Underwood
3 1:28 PM > To: solr-user@lucene.apache.org > Subject: 400 error with boost and exists() > > We're running Solr 3.3 and I have a function query for boosting that works > with bq but not with boost (edismax). This is the same behavior described > here: > > http://

Re: 400 error with boost and exists()

2013-01-16 Thread Jack Krupansky
y, January 16, 2013 1:28 PM To: solr-user@lucene.apache.org Subject: 400 error with boost and exists() We're running Solr 3.3 and I have a function query for boosting that works with bq but not with boost (edismax). This is the same behavior described here: http://stackoverflow.com/question

400 error with boost and exists()

2013-01-16 Thread Walter Underwood
We're running Solr 3.3 and I have a function query for boosting that works with bq but not with boost (edismax). This is the same behavior described here: http://stackoverflow.com/questions/12128561/why-doesnt-solr-function-query-work-with-boost-parameter Here is the first part of the stack trac