lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: SOLRJ - Searching text in all fields of a Bean
Date Fri, 15 Oct 2010 20:31:11 GMT
You can replace query.setQueryType("dismax") with query.set("defType", "dismax");

Also don't forget to request title field with fl parameter. query.addField("title");



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message