Can anyone explain how to use the Java client to use the suggest querieslike
this one:
{
"suggest" : {
"my-name" : {
"text" : "And",
"term" : {
"size" : 3,
"field" : "name"
}
}
}
}
The documentation for the client API does not describe how to use it.
--
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+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
Ivan
(Ivan Brusic)
May 2, 2013, 2:29pm
2
When in doubt of the Java API, look at the test cases:
https://github.com/elasticsearch/elasticsearch/tree/master/src/test/java/org/elasticsearch/test/unit/action/suggest
https://github.com/elasticsearch/elasticsearch/blob/master/src/test/java/org/elasticsearch/test/integration/search/suggest/SuggestSearchTests.java
--
Ivan
On Wed, May 1, 2013 at 3:15 PM, Dan Liliedahl dliliedahl@gmail.com wrote:
Can anyone explain how to use the Java client to use the suggest querieslike
this one:
{
"suggest" : {
"my-name" : {
"text" : "And",
"term" : {
"size" : 3,
"field" : "name"
}
}
}
}
The documentation for the client API does not describe how to use it.
--
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+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
--
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+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .