lucene-java-user mailing list archives

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

: "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

https://people.apache.org/~hossman/apachecon2011/

-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message