lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: ElasticSearch
Date Thu, 17 Nov 2011 20:59:19 GMT
On Thu, Nov 17, 2011 at 3:44 PM, Michael McCandless
<lucene@mikemccandless.com> wrote:
> Maybe someone can post the equivalent query in ElasticSearch?

I don't think it's possible.  Hoss threw in the kitchen sink into his
"contrived' example.
Here's a super simple example:

JSON:

{
    "sort" : [
        { "age" : {"order" : "asc"} }
    ],
    "query" : {
        "term" : { "user" : "jack" }
    }
}

Solr's HTTP:

q=user:jack&sort=age asc

-Yonik
http://www.lucidimagination.com

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