lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Vukojevic <email...@gmail.com>
Subject Example of DisMax query with embeded Solr (using SolrJ)
Date Tue, 18 Jan 2011 15:49:01 GMT
Hi,

Is there an example of how to use dismax with embedded Solr?I am currently
creating my query like this:
        QueryParser parser = new
QueryParser(Version.LUCENE_CURRENT,"content", new
StandardAnalyzer(Version.LUCENE_CURRENT));
        Query q = parser.parse(query);
        searcher.search(q, end);

How would this look with DisMax query?
Any help would be appreciated.

thx!

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