You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by jihyun suh <jh...@gmail.com> on 2013/10/30 11:28:14 UTC

query with colon in bq

I have a question about query with colon in bq.
Actually I use edismax and I set the q and bq just like this,

.../select?defType=edismax&q="1:100"^100 "1 100"^30&qf=Title^2.0
Body&bq=Title:(1:100)^6.0 Body:(1:100)^6.0

in this query phrase, I got the error in bq, undefined field 1.
How do I use query with colon in bq?



--
View this message in context: http://lucene.472066.n3.nabble.com/query-with-colon-in-bq-tp4098400.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: query with colon in bq

Posted by jihyun suh <jh...@gmail.com>.
It's working perfectly. Thnks~



--
View this message in context: http://lucene.472066.n3.nabble.com/query-with-colon-in-bq-tp4098400p4099122.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: query with colon in bq

Posted by Jack Krupansky <ja...@basetechnology.com>.
Escape any special characters with a backslash, or put the full term in 
quotes.

-- Jack Krupansky

-----Original Message----- 
From: jihyun suh
Sent: Wednesday, October 30, 2013 6:28 AM
To: solr-user@lucene.apache.org
Subject: query with colon in bq

I have a question about query with colon in bq.
Actually I use edismax and I set the q and bq just like this,

.../select?defType=edismax&q="1:100"^100 "1 100"^30&qf=Title^2.0
Body&bq=Title:(1:100)^6.0 Body:(1:100)^6.0

in this query phrase, I got the error in bq, undefined field 1.
How do I use query with colon in bq?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/query-with-colon-in-bq-tp4098400.html
Sent from the Solr - User mailing list archive at Nabble.com.