lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: Beginner question
Date Tue, 20 Jul 2010 12:40:05 GMT
> Is it possible to use dismax query parser using solrJ,
> since this is how I'm going to access solr?

Sure it is possible. SolrQuery.setQueryType("dismax") is equals to &defType=dismax.

More permanent way: You can define your dismax parameters (fields and boost weights) in solrconfig.xml,
and make default="true" for that SearchHandler. Example solrconfig.xml contains examples of
dismax setups with different parameters/settings.


View raw message