On Wed, Nov 16, 2011 at 10:18 PM, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > : "Think of the Query DSL as an AST of queries" > : http://www.elasticsearch.org/guide/reference/query-dsl/ > > I'm not familiar with ES, but FWIW: based on that one page the "Query DSL" > doesn't really sound much more powerful then what you can do with nested > queries, local params, and param refs using the various Solr QParsers. > > Here's a (somewhat contrived) example from my Apachecon talk last week... > > ?q={!boost b=div(popularity,price) v=$qq} > &qq={!dismax qf=desc^2,review}cheap > &bq={!lucene df=keywords}lucene solr java > &fq={!geofilt sfield=location pt=10.312,-20.556 d=3.5} > &fq={!term f=$ff v=$vv}&ff=keywords&vv=solr > &sort=query(keywords:lame) asc, score desc >
I agree, one big difference here is that I might spend 2h reading & finding documentation to figure out what that does :D simon > https://people.apache.org/~hossman/apachecon2011/ > > -Hoss > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org