Val,
never mind, I think that did it. I had to make a couple of other changes in
my environment, but that I think allowed indexing to work again.
I never realized that the Spring XML definition and the java DSL of a Cache
are mutually exclusive? From GridGain I was used to specifying the basics
Fluffy,
You have a cache configuration in both code and XML. The one in XML is
actually used, but it doesn't provide indexed types. Your code
configuration looks correct, so I think you should simply remove it from
XML.
-Val
On Fri, Jun 12, 2015 at 1:39 PM, fluffy fhaf...@gmail.com wrote:
I
fluffy wrote
I'm having the same issue with the latest release. Did you ever find a
solution or this?
Forian, does the solution provided in this thread with
@ScacheCacheQuerySqlField annotation work for you?
D.
-
D.
--
View this message in context:
Fluffy,
We ended up using the @ScalarCacheQuerySqlField annotation that dsetrakyan
suggested. Additionally we had limited success depending on the key type
being indexed.
Take a look at
http://apache-ignite-users.70518.x6.nabble.com/SQL-query-question-tc426.html
When we used Scala's Int as a
By the way in Scala you should use @ScalarCacheQuerySqlField annotation.
Ignite has ScalarCacheQueryExample in examples to show how it works.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Trouble-Enabling-Query-Indexing-tp377p409.html
Sent from the Apache
Thanks Abhishek, I was hoping that would do the case too. Despite setting
the index types like you suggested, and then creating the cache, I still
get the following error when attempting to query (this is the same error I
received before setting the index types too.)
javax.cache.CacheException:
Please look at CacheConfiguration.setIndexedTypes method.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Trouble-Enabling-Query-Indexing-tp377p406.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.