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 it won't be indexed, as indexes created per table, not per cache. Do I miss something? On Wed, Jun 2, 2021 at 12:56 PM Ilya Korol <llivezk...@gmail.com> wrote: > 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 (IgniteCheckedException e1) { > throw new IgniteException(e1); > } > } > > > Does this really necessary? What about disabling this feature by > default and enabling it only by demand (to reduce unnecessary > performance hit even if its not very huge)? I guess additional option > could be introduced to do so. > > Any ideas? > >