lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Tebbs <l...@staffing-systems.co.uk>
Subject Localsolr with Dismax
Date Thu, 02 Sep 2010 11:15:51 GMT
Anyone?

I'm really lost as to what to do here... if anyone has any experience 
with this
or even ideas of things to try I'd really appreciate your input.

It seems like what I'm trying to do should work but for some reason 
'defType' seems to be
ignored....

Thankyou

Luke

-------- Original Message -------

Does anyone have any experience with getting dismax to work with a 
geospatial (localsolr) search?

I have the following configuration -

....
 <requestHandler name="standard" class="solr.SearchHandler" default="true">
   <lst name="defaults">
     <str name="defType">dismax</str>
     <str name="qf">title description^0.5</str>
     <str name="pf">title description^0.5</str>
     <str name="mm">0%</str>
     <str name="tie">0.1</str>
   </lst>
 </requestHandler>

 <requestHandler name="geo" class="solr.SearchHandler">
   <lst name="defaults">
     <str name="defType">dismax</str>
     <str name="qf">title description^0.5</str>
     <str name="pf">title description^0.5</str>
     <str name="mm">0%</str>
     <str name="tie">0.1</str>
   </lst>
   <arr name="components">
     <str>localsolr</str> 
     <str>facet</str>
     <str>mlt</str>
     <str>highlight</str>
     <str>debug</str>
   </arr>
 </requestHandler>
....

All of the location searching works fine, as does the normal search, but 
when using the "geo" handler the textual search seems to be using the 
standard search handler and only the title field is searched.

I'm a bit stumped on this one, any help would be greatly appreciated.

Luke


Mime
View raw message