ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-4511) Set QueryIndexType.SORTED by default for an index
Date Mon, 23 Jan 2017 13:39:26 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-4511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834495#comment-15834495

ASF GitHub Bot commented on IGNITE-4511:

GitHub user AMashenkov opened a pull request:


    IGNITE-4511: Set QueryIndexType.SORTED by default for an index 


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-4511

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1453
commit 626f1d5614930bca0ab744a6049e5f83f321d46a
Author: Andrey V. Mashenkov <andrey.mashenkov@gmail.com>
Date:   2016-12-23T09:18:07Z

    IGNITE-4142: Fixed assertion while update metrics. This closes #1372.

commit 55f7594fd0595a4269c3972446ba4ebe30c12442
Author: Alexandr Kuramshin <akuramshin@gridgain.com>
Date:   2017-01-13T09:26:39Z

    ignite-4293 Do not need store deserialized value for BinaryMarshaller
    (cherry picked from commit d10946b)

commit 1665a615030201a7c9a51fd479868c3533b103b5
Author: Anton Vinogradov <av@apache.org>
Date:   2016-12-30T10:41:34Z

    IGNITE-4424 REPLICATED cache isn't synced across nodes

commit 80f7325211f6adb8a9f3cc0bd1192ded28aeff77
Author: Anton Vinogradov <av@apache.org>
Date:   2017-01-16T09:15:17Z

    Merge branch 'ignite-1.7.5-p1' into ignite-1.7.6

commit 496fb173d55a8ea0702fcb70a4e807f61d8fc53e
Author: nikolay_tikhonov <ntikhonov@gridgain.com>
Date:   2017-01-16T10:19:51Z

    IGNITE-4513 Improve debug logging.

commit c3eae9fecff5ad01390170c034dca39c216a097c
Author: Andrey Novikov <anovikov@gridgain.com>
Date:   2017-01-16T03:33:16Z

    IGNITE-4518 Fixed parallel load of cache. - Fixes #1426.
    Signed-off-by: Andrey Novikov <anovikov@gridgain.com>
    (cherry picked from commit 79401b2)

commit 71176473f9fd0aa2088ba4e611ba4b7fc45e76b8
Author: Andrey Novikov <anovikov@gridgain.com>
Date:   2017-01-16T04:22:34Z

    IGNITE-4545 Added cache for router hostnames. - Fixes #1428.
    Signed-off-by: Andrey Novikov <anovikov@gridgain.com>
    (cherry picked from commit 27ba69b)

commit 22b7e76c00a77a06388bcef869f29d1a572a306a
Author: sboikov <sboikov@gridgain.com>
Date:   2017-01-17T09:33:32Z

    ignite-4465 Prevent cache entry eviction while it is loaded from store (otherwise loaded
value can be not stored in cache).

commit 67225b24dbc77ed70f5aa6bac6d750623c67045d
Author: sboikov <sboikov@gridgain.com>
Date:   2017-01-17T09:46:28Z

    Merge remote-tracking branch 'remotes/community/ignite-1.7.5-p1' into ignite-1.7.6

commit 74d0dcc6c56118f9e4fdaa4aa70d25d1abe7b80e
Author: Andrey V. Mashenkov <andrey.mashenkov@gmail.com>
Date:   2017-01-17T12:00:08Z

    IGNITE-3964: SQL: add support for custom table name. This closes #1301.

commit 8e622e41de4acf365da7f933a08b6d31bae11124
Author: Andrey V. Mashenkov <andrey.mashenkov@gmail.com>
Date:   2017-01-17T12:18:33Z

    IGNITE-4247: Sql queries supports table alias. This closes #1297.

commit a922ac9d17f91f25aaa2bac9f0a2622dbd04c9bb
Author: Andrey V. Mashenkov <andrey.mashenkov@gmail.com>
Date:   2017-01-17T12:31:04Z

    IGNITE-4540: IndexingSPI can be used without have default H2 Indexing enabled. This closes

commit d0c0bcece7d8e9d373aaf13a210f6d890e5ad48b
Author: Andrey V. Mashenkov <andrey.mashenkov@gmail.com>
Date:   2017-01-17T13:19:02Z

    IGNITE-3867: Fixed ScanQuery ignores pageSize property. This closes #1406.

commit b54a481315a45c7a6c8f70534f655e14b25cc439
Author: dkarachentsev <dkarachentsev@gridgain.com>
Date:   2017-01-18T09:05:22Z

    ignite-4525 - Near reader is created when value is loaded from store.

commit 2eb24cad277e14322cf42155697cae78e0f80e13
Author: dkarachentsev <dkarachentsev@gridgain.com>
Date:   2017-01-18T10:00:25Z

    ignite-4147 - Fail if joining node has different of cluster SSL configuration.

commit 2305e38345d8a7ca812d265d00eaca5bb7d6adb1
Author: Andrey V. Mashenkov <andrey.mashenkov@gmail.com>
Date:   2017-01-18T11:57:53Z

    Minor fixes in tests.

commit ecf4b8b5bd05a5c1120e08d9951cddd26d0e924c
Author: Andrey V. Mashenkov <andrey.mashenkov@gmail.com>
Date:   2017-01-18T14:22:14Z

    Minor fix test for Ignite-4247.

commit f9aaf0353cea54afefea4caac74b1583eb17969b
Author: agura <agura>
Date:   2017-01-18T15:04:45Z

    ignite-4499 Drop node from topology in case when connection creation is impossible

commit d396398c1b4660b3bca24d2650a10f6c0677b4df
Author: sboikov <sboikov@gridgain.com>
Date:   2016-12-02T07:36:41Z

    ignite-4314 cache.clear should not destroy offheap map
    (cherry picked from commit 88c06ec)

commit 51e1f874624c428cc93e9c16407ec5a8b4cf8420
Author: sboikov <sboikov@gridgain.com>
Date:   2017-01-19T07:52:42Z

    Throw CacheException from queries API.

commit 9c9175d4a84194a224a4020e6185d1e2aee0a5aa
Author: dkarachentsev <dkarachentsev@gridgain.com>
Date:   2017-01-19T08:19:18Z

    ignite-4147 - Rollback due to test failing on many restarts, should be improved to be
more durable

commit f35057833900ba028b3a9a8bd547df61f42a45ed
Author: sboikov <sboikov@gridgain.com>
Date:   2017-01-19T09:44:57Z

    CacheScanPartitionQueryFallbackSelfTest fixed to use default page size.

commit 7016de2a70d0fa70f055d9b69f7d286b800f9c9a
Author: Andrey V. Mashenkov <andrey.mashenkov@gmail.com>
Date:   2017-01-23T13:37:50Z



> Set QueryIndexType.SORTED by default for an index 
> --------------------------------------------------
>                 Key: IGNITE-4511
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4511
>             Project: Ignite
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.7
>         Environment: Windows Server + Java 8
>            Reporter: Steve Hostettler
>            Priority: Minor
>              Labels: fulltext, sql
> The code snippet below creates a index of type FULL TEXT which much slower and that I
do not need;
> QueryIndex idx1 = new QueryIndex();
> LinkedHashMap<String, Boolean> idxFlds1 = new LinkedHashMap<>();
> idxFlds1.put("field1", true);
> idxFlds1.put("field2", true);
> idx1.setFields(idxFlds1);
> idxs.add(idx1);
> To avoid this I must explicitly set
> idx1.setIndexType(QueryIndexType.SORTED);
> This is because with the above code snippet, the Index Type is null and that null is
interpreted as FULL TEXT in  GridQueryProcessor.java 
>  if (idx.getIndexType() == QueryIndexType.SORTED || idx.getIndexType() == QueryIndexType.GEOSPATIAL)
> .... 
> } else { 
> assert idx.getIndexType() == QueryIndexType.FULLTEXT; 
>                     for (String field : idx.getFields().keySet()) { 
>                         String alias = aliases.get(field); 
>                         if (alias != null) 
>                             field = alias; 
>                         d.addFieldToTextIndex(field); 
>                     } 
> } 

This message was sent by Atlassian JIRA

View raw message