Yes, qf will search in both fields and boost according.
If the only reason to try velocity or even /browse was because you wanted
edismax, don't bother.
You can just add defType to t.he /select request handler in solrconfig, so
that you don't need to add it to every request. Same for qf, if it has a
common value.
And you can even copy /select and create one or more new request handlers
with new paths, like /my-select, if you have more than one common
combination of parameter settings that you want to avoid setting on every
incoming query request.
-- Jack Krupansky
-----Original Message-----
From: amit
Sent: Saturday, April 06, 2013 3:15 AM
To: solr-user@lucene.apache.org
Subject: using edismax without velocity
I am using solr3.6 and trying to use the edismax handler.
The config has a /browse requestHandler, but it doesn't work because of
missing class definition VelocityResponseWriter error.
<queryResponseWriter name="velocity" class="solr.VelocityResponseWriter"
startup="lazy"/>
I have copied the jars to solr/lib following the steps here, but no luck
http://wiki.apache.org/solr/VelocityResponseWriter#Using_the_VelocityResponseWriter_in_Solr_Core
I just want to search on multiple fields with different boost. *Can I use
edismax with the /select requestHandler?* If I write a query like below,
does it search in both the fields name and description?
Does the query below solves my purpose?
http://localhost:8080/solr/select/?q=(coldfusion^2
cache^1)*&defType=edismax&qf=name^2 description^1*&fq=author:[* TO *] AND
-author:chinmoyp&start=0&rows=10&fl=author,score, id
--
View this message in context:
http://lucene.472066.n3.nabble.com/using-edismax-without-velocity-tp4054190.html
Sent from the Solr - User mailing list archive at Nabble.com.