[
https://issues.apache.org/jira/browse/IGNITE-14805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17384942#comment-17384942
]
Taras Ledkov edited comment on IGNITE-14805 at 7/21/21, 3:29 PM:
-----------------------------------------------------------------
Due to additional unused index has a performance impact we have to add ability
to disable this function.
*Proposal:*
introduce the simple distributed property to DISABLE the creation lucene index
by default.
In this case new installation that doesn't require lucene indexes may disable
it.
And documents the behavior.
was (Author: tledkov-gridgain):
*Proposal:*
introduce the simple distributed property to DISABLE the creation lucene index
by default.
In this case new installation that doesn't require lucene indexes may disable
it.
And documents the behavior.
> Avoid unconditional Lucene index creation in case of a String value type for
> a table
> ------------------------------------------------------------------------------------
>
> Key: IGNITE-14805
> URL: https://issues.apache.org/jira/browse/IGNITE-14805
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Affects Versions: 2.10
> Reporter: Vladimir Pligin
> Assignee: Taras Ledkov
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In the H2TableDescriptor class there's a piece of code:
> {code:java}
> if (type().valueClass() == String.class) {
> try {
> luceneIdx = new GridLuceneIndex(idx.kernalContext(), tbl.cacheName(),
> type);
> }
> catch (IgniteCheckedException e1) {
> throw new IgniteException(e1);
> }
> }
> {code}
> For most cases it could be avoided.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)