Re: Fetch by contains on a field as Array or List

2017-01-27 Thread vkulichenko
Hi Sam, To do the search you can create a custom function that will do the job [1]. But note that this search will not be indexed. To create an index you need to store each element of collection as a separate cache entry. https://apacheignite.readme.io/docs/miscellaneous-features#custom-sql-funct

Re: IGFS Questions

2017-01-27 Thread vkulichenko
pragmaticbigdata wrote > I will spend sometime in understanding what this means but by "Hadoop > compliant implementation" are you hinting that HDFS needs to be running > even if I have S3 as the secondary file system? It's any FS that has a connector that implements org.apache.hadoop.fs.FileSyste

Re: Text query

2017-01-27 Thread vkulichenko
Got it. I believe there is no mechanism to inject custom analyzer. I'm not a big Lucene expert, do you have an example of how this can be done? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Text-query-tp8661p10296.html Sent from the Apache Ignite Users ma

Re: grouped index sort vs filter

2017-01-27 Thread Denis Magda
The sql hints are planned for 2.0 at the moment. You can keep an eye on this ticket: https://issues.apache.org/jira/browse/IGNITE-4594 This should happen in Q2. Here we also depends on H2 release. Sergi, as H2 committer, do you have any idea w

Re: grouped index sort vs filter

2017-01-27 Thread lawrencefinn
OMG YOU ARE THE BEST This code has been such a pain in the butt to do. When do you think the next release will be (im guessing 1.9.0?) -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/grouped-index-sort-vs-filter-tp9885p10294.html Sent from the Apache Ignit

Re: backup to swap

2017-01-27 Thread vkulichenko
Anil, What exactly does not exist? There is a swap space implementation out of the box, and you only need to implement eviction policy. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/backup-to-swap-tp10255p10293.html Sent from the Apache Ignite Users mail

Re: eagerTtl

2017-01-27 Thread javastuff....@gmail.com
Thanks, Looks like false alarm. I see a single thread for ttl-cleanup-worker per node. -Sam -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/eagerTtl-tp10249p10292.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Geo Spatial queries

2017-01-27 Thread Raja
Hi, I have been using Ignite to store Geo Spatial data, index it and query it. Till now my need was only to query the data by a bounding box and Ignite has been great for that type of need. Please see the link below for example of bounding box query https://www.gridgain.com/resources/blog/geosp

Re: Rest protocol not working - jetty server not starting

2017-01-27 Thread Francesco
Thank you Nikolai! I thought it ws enought specify ignite/libs, but I was wrong. Thank you a lot for help! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Rest-protocol-not-working-jetty-server-not-starting-tp10287p10290.html Sent from the Apache Ignite Users

Re: IGFS Questions

2017-01-27 Thread pragmaticbigdata
Thanks for the replies. I have a few follow up questions. > Yes, as long as you have Hadoop-compliant implementation of S3 file system > (e.g. org.apache.hadoop.fs.s3.S3FileSystem). I will spend sometime in understanding what this means but by "Hadoop compliant implementation" are you hinting th

Re: Rest protocol not working - jetty server not starting

2017-01-27 Thread Nikolai Tikhonov
Hi Francesco! ignite-rest-http jar should be added in classpath. If you starting ignite from java app then you can add as maven dependency org.apache.ignite ignite-rest-http ${ignite.version} On Fri, Jan 27, 2017 at 4:11 PM, Francesco wrote: > Good day everyone, > > I'm postin

Rest protocol not working - jetty server not starting

2017-01-27 Thread Francesco
Good day everyone, I'm posting here after several hours of rearches that didn't lead me to a solution. I hope my english will be not too bad. As specified in the subject I'm having problems using ignite rest api. I've correctly copied ignite-rest-http folder in the parent directory (libs) and wh

Re: Ignite java and xml configuration

2017-01-27 Thread Vladislav Pyatkov
Anil, Way not? java.lang.Integer java.lang.String *and so on pairs of classes* On Fri, Jan 27, 2017 at 1:18 PM, Anil wrote: > But Indextypes cannot be set in xml configuration. Can we ? Thanks. > > -- Vladislav Pyatkov

Re: Ignite java and xml configuration

2017-01-27 Thread Anil
But Indextypes cannot be set in xml configuration. Can we ? Thanks.

Re: Ignite java and xml configuration

2017-01-27 Thread Vladislav Pyatkov
Hi Anil, You can use configuration cache in xml with annotation query field. But you if you are use @SqlQueryField, then you should use CacheConfiguration#setIndexedTypes property instead of QueryEntity. On Fri, Jan 27, 2017 at 12:06 PM, Anil wrote: > Hi, > > we are using combination of java an

Ignite java and xml configuration

2017-01-27 Thread Anil
Hi, we are using combination of java and xml configuration for ignite. for now, cache configuration uses java configuration and swap, discovery uses xml configuration. Is there any way to move the cache configuration to xml which uses the java annotations ? thanks. Below is the current cache c