Re: Using fq as OR

2014-05-27 Thread Dmitry Kan
like > >> > WHERE type={} > >> > Where as *q* is something like WHERE type like '%%' > >> > > >> > user *fq*, if your are sure of what your going to search > >> > use *q*, if not sure what your trying to search > >&

Re: Using fq as OR

2014-05-26 Thread Erick Erickson
e *q*, if not sure what your trying to search >> > >> > If you are using fq and if you do not get any matching documents, solr >> > throws 0 or error message >> > where q would try to match nearest documents for your search query >> > >> > That's w

Re: Using fq as OR

2014-05-26 Thread Dmitry Kan
sure of what your going to search > > use *q*, if not sure what your trying to search > > > > If you are using fq and if you do not get any matching documents, solr > > throws 0 or error message > > where q would try to match nearest documents for your search quer

Re: Using fq as OR

2014-05-22 Thread Erick Erickson
or message > where q would try to match nearest documents for your search query > > That's what I have experienced so far. :-). > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Using-fq-as-OR-tp4137411p4137525.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Using fq as OR

2014-05-21 Thread manju16832003
ot get any matching documents, solr throws 0 or error message where q would try to match nearest documents for your search query That's what I have experienced so far. :-). -- View this message in context: http://lucene.472066.n3.nabble.com/Using-fq-as-OR-tp4137411p4137525.html Sent from

Re: Using fq as OR

2014-05-21 Thread Jack Krupansky
The results will be scored, but only based on terms in q, not terms in fq. -- Jack Krupansky -Original Message- From: johnmu...@aol.com Sent: Wednesday, May 21, 2014 6:41 PM To: solr-user@lucene.apache.org Subject: Re: Using fq as OR Interesting!! I did not know that using &qu

Re: Using fq as OR

2014-05-21 Thread johnmunir
ng out with this topic. I am learning a lot -- MJ -Original Message- From: Jack Krupansky To: solr-user Sent: Wed, May 21, 2014 6:07 pm Subject: Re: Using fq as OR As I indicated in my original response, the fq query terms do not participate in any way in the scoring of documents -

Re: Using fq as OR

2014-05-21 Thread Jack Krupansky
, or add a boosting query using the bq parameter. The latter approach works for the dismax and edismax query parsers only. -- Jack Krupansky -Original Message- From: johnmu...@aol.com Sent: Wednesday, May 21, 2014 5:51 PM To: solr-user@lucene.apache.org Subject: Re: Using fq as OR Hi

Re: Using fq as OR

2014-05-21 Thread Walter Underwood
t; > In other words, what exactly were you trying to achieve by using fq? > > -- Jack Krupansky > > -Original Message- From: johnmu...@aol.com > Sent: Wednesday, May 21, 2014 12:19 PM > To: solr-user@lucene.apache.org > Subject: Re: Using fq as OR > > &g

Re: Using fq as OR

2014-05-21 Thread johnmunir
will not give me the same ranking, than why? -- MJ -Original Message- From: Jack Krupansky To: solr-user Sent: Wed, May 21, 2014 5:06 pm Subject: Re: Using fq as OR The whole point of a filter query is to hide data but without impacting the scoring for the non-hidden data. A secon

Re: Using fq as OR

2014-05-21 Thread Jack Krupansky
filtering terms to participate in the document scoring. In other words, what exactly were you trying to achieve by using fq? -- Jack Krupansky -Original Message- From: johnmu...@aol.com Sent: Wednesday, May 21, 2014 12:19 PM To: solr-user@lucene.apache.org Subject: Re: Using fq as OR

Re: Using fq as OR

2014-05-21 Thread johnmunir
ent path, giving me different rank result, is not good. -- MJ -Original Message- From: Shawn Heisey To: solr-user Sent: Wed, May 21, 2014 11:42 am Subject: Re: Using fq as OR On 5/21/2014 9:26 AM, johnmu...@aol.com wrote: > Currently, I'm building my search as fo

Re: Using fq as OR

2014-05-21 Thread Jack Krupansky
y -Original Message- From: johnmu...@aol.com Sent: Wednesday, May 21, 2014 11:26 AM To: solr-user@lucene.apache.org Subject: Using fq as OR Hi, Currently, I'm building my search as follows: q=(search string ...) AND (type:type_a OR type:type_b OR type:type_c OR ...) Which means

Re: Using fq as OR

2014-05-21 Thread Shawn Heisey
On 5/21/2014 9:26 AM, johnmu...@aol.com wrote: > Currently, I'm building my search as follows: > > > q=(search string ...) AND (type:type_a OR type:type_b OR type:type_c OR > ...) > > > Which means anything I search for will be AND'ed to be in either fields that > have "type_a", "type_b", "ty

Using fq as OR

2014-05-21 Thread johnmunir
Hi, Currently, I'm building my search as follows: q=(search string ...) AND (type:type_a OR type:type_b OR type:type_c OR ...) Which means anything I search for will be AND'ed to be in either fields that have "type_a", "type_b", "type_c", etc. (I have defaultOperator set to "AND") Now