Re: Example of DisMax query with embeded Solr (using SolrJ)

2011-01-18 Thread Ahmet Arslan
> 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); >         search

Example of DisMax query with embeded Solr (using SolrJ)

2011-01-18 Thread Bojan Vukojevic
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