Re: bf, nested queries and local params

2013-01-22 Thread Jack Krupansky
e spaces or "^". -- Jack Krupansky -Original Message- From: Anatoli Matuskova Sent: Tuesday, January 22, 2013 4:32 AM To: solr-user@lucene.apache.org Subject: Re: bf, nested queries and local params q=table&bf=product(scale(product(query({!v='color'}),1),0,1),100)

Re: bf, nested queries and local params

2013-01-22 Thread Anatoli Matuskova
q=table&bf=product(scale(product(query({!v='color'}),1),0,1),100) This worked! Now looking at debug query I see that the nested query is using the default field and default op. from schema.xml How could I pass params to the nested query as the defType or qf. I would like to do something like this

Re: bf, nested queries and local params

2013-01-21 Thread Jack Krupansky
work, sounds like a bug. -- Jack Krupansky -Original Message- From: Anatoli Matuskova Sent: Monday, January 21, 2013 9:10 PM To: solr-user@lucene.apache.org Subject: Re: bf, nested queries and local params q=table&bf=product(scale(query({!v='color'}),0,1),100) Gives me b

Re: bf, nested queries and local params

2013-01-21 Thread Jack Krupansky
ne.apache.org Subject: Re: bf, nested queries and local params Getting closer: q=table&bf=product(scale(query({!v='with color'}),0,1),100) I was expecting to get the score from query({!v='with color'}) so the scale would look like (this is just an example in a document): sc

Re: bf, nested queries and local params

2013-01-21 Thread Jack Krupansky
013 7:53 PM To: solr-user@lucene.apache.org Subject: Re: bf, nested queries and local params Looks like doing this: /Wrap the query argument for the scale function with the query function: q=table&bf=product(scale(query({!type=dismax qf=description,color v='with color'}),0,1),pr

Re: bf, nested queries and local params

2013-01-21 Thread Anatoli Matuskova
Looks like doing this: /Wrap the query argument for the scale function with the query function: q=table&bf=product(scale(query({!type=dismax qf=description,color v='with color'}),0,1),price) / I'm still getting the same error. Something might be wrong when writing the nested query but can't fi

Re: bf, nested queries and local params

2013-01-21 Thread Jack Krupansky
Wrap the query argument for the scale function with the query function: q=table&bf=product(scale(query({!type=dismax qf=description,color v='with color'}),0,1),price) -- Jack Krupansky -Original Message- From: Anatoli Matuskova Sent: Monday, January 21, 2013 7:35 PM To: solr-user@lu