Re: query parameters

2014-02-18 Thread Erick Erickson
> value > in ogranisations and roles. It didn't matter if i used a base term, isn't > that give through the q-parameter? > > -Original Message- > From: Raymond Wiker [mailto:rwi...@gmail.com] > Sent: Dienstag, 18. Februar 2014 13:19 > To: solr-user@lucene.

RE: query parameters

2014-02-18 Thread Andreas Owen
ar 2014 13:19 To: solr-user@lucene.apache.org Subject: Re: query parameters That could be because the second condition does not do what you think it does... have you tried running the second condition separately? You may have to add a "base term" to the second condition, like what

Re: query parameters

2014-02-18 Thread Raymond Wiker
That could be because the second condition does not do what you think it does... have you tried running the second condition separately? You may have to add a "base term" to the second condition, like what you have for the "bq" parameter in your config file; i.e, something like (*:* -organisation

RE: query parameters

2014-02-18 Thread Andreas Owen
It seams that fq doesn't except OR because: (organisations:(150 OR 41) AND roles:(174)) OR (-organisations:["" TO *] AND -roles:["" TO *]) only returns docs that match the first conditions. it doesn't return any docs with the empty fields organisations and roles. -Original Message- Fro