Hi,

REST API does not have such option, but you can write your own compute task
(that uses Java API) and call it from REST [1]. It's not possible to use
Lucene search from SQL interfaces.

To use full text search you need to annotate fields with @QueryTextField [2]
and add to indexed types [3].
Ignite will automatically manage Lucene indexes and you'll be able to search
with a TextQuery. 

Also, please note that Lucene indexes work only in in-memory mode [4].

[1] https://apacheignite.readme.io/v2.5/docs/rest-api#execute
[2] https://apacheignite.readme.io/v2.5/docs/cache-queries#text-queries
[3]
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/CacheConfiguration.html#setIndexedTypes-java.lang.Class...-
[4] https://issues.apache.org/jira/browse/IGNITE-5371

Thanks!
-Dmitry



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to