scq wrote
> I want to query all records that dimension field contain 'margin' in the
> oracle db by using cache, but  I find   whatever dimension filed add
> "@QuerySqlField " ,no result found.

You should use @QueryTextField annotation for text queries. See [1] and [2]
for details and examples.

[1]
https://apacheignite.readme.io/docs/cache-queries#query-configuration-by-annotations
[2]
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Fail-to-get-the-result-by-using-use-TextQuery-tp7005p7071.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to