[
https://issues.apache.org/jira/browse/IGNITE-14805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17398592#comment-17398592
]
Ignite TC Bot commented on IGNITE-14805:
----------------------------------------
{panel:title=Branch: [pull/9267/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9267/head] Base: [master] : New Tests
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Queries 1{color} [[tests
2|https://ci.ignite.apache.org/viewLog.html?buildId=6129228]]
* {color:#013220}IgniteBinaryCacheQueryTestSuite:
BasicIndexTest.testCreateLuceneIndex - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite:
BasicIndexMultinodeTest.testCreateLuceneIndex - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6129249&buildTypeId=IgniteTests24Java8_RunAll]
> 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)