lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: ElasticSearch
Date Wed, 16 Nov 2011 21:18:48 GMT

: "Think of the Query DSL as an AST of queries"

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message