Re: Default Lucene index for String cache values

2021-06-02 Thread Maksim Timonin
Hi, Ilya! AFAIK, to create LuceneIndex it's required to do this: CacheConfiguration.setIndexedTypes(Long.class, String.class); It's pretty straightforward, a user wants the value class to be indexed. If you just create a simple cache (without entities, indexed types) with String.class as value

Default Lucene index for String cache values

2021-06-02 Thread Ilya Korol
Hi, All. According to https://issues.apache.org/jira/browse/IGNITE-14805 there is default index creation for caches with String values: if (type().valueClass() == String.class) {     try {     luceneIdx = new GridLuceneIndex(idx.kernalContext(), tbl.cacheName(), type);     }     catch