lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <>
Subject Re: using edismax without velocity
Date Sat, 06 Apr 2013 11:55:30 GMT
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
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"
I have copied the jars to solr/lib following the steps here, but no luck

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?
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:
Sent from the Solr - User mailing list archive at 

View raw message