The concrete implementation depends on what you store in the payload (e.g.
scores)

Jörg

On Tue, Mar 17, 2015 at 7:01 AM, Devaraja Swami <devarajasw...@gmail.com>
wrote:

> I need to use PayloadTermQuery from Lucene.
> Does anyone know how I can use this in ElasticSearch?
> I am using ES 1.4.4, with the Java API.
> In Lucene, I could use this by directly instantiating PayloadTermQuery,
> but there are no APIs in ES QueryBuilders for this.
> I don't need a query parser, because I can build the query directly using
> the Java API (don't need a JSON representation of the query),
> so I only need to be able to construct, in Java, a query builder
> encapsulating a PayloadTermQuery.
>
> Thanks in advance!
>
> -devarajaswami
>
>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/8fc84082-6fc7-42aa-9caf-8ab527bc8a0b%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/8fc84082-6fc7-42aa-9caf-8ab527bc8a0b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFwk_Ve_OK9J%2BfsEzGwbtOnaL7%2BeqT%3DR61hCoX8Mzi-fQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to