You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/05 06:31:00 UTC

[jira] [Commented] (BIGTOP-3040) Solr's default configsets doesn't work with smoke test cases

    [ https://issues.apache.org/jira/browse/BIGTOP-3040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501343#comment-16501343 ] 

ASF GitHub Bot commented on BIGTOP-3040:
----------------------------------------

GitHub user JunHe77 opened a pull request:

    https://github.com/apache/bigtop/pull/364

    BIGTOP-3040: Solr's default configsets doesn't work with smoke test c…

    …ases
    
    The default configsets used in solr is data_driven_schema_configs, which
    doesn't work with solr smoke test, TestIndexing:testSearch. The reason is
    in data_driven_schema_configs "name" is treated as StrField, not TextField,
    so the words will not be tokenized, and lead to unexpected query result.
    sample_techproducts_configs should be used.
    
    Change-Id: I170c9530ed937410dcd99c975276c30777b24045
    Signed-off-by: Jun He <ju...@linaro.org>

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

    $ git pull https://github.com/JunHe77/bigtop BIGTOP-3040

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

    https://github.com/apache/bigtop/pull/364.patch

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

    This closes #364
    
----
commit 03f4e1fd8388ec8e7dac46551e9a59c568085b31
Author: Jun He <ju...@...>
Date:   2018-06-05T04:57:59Z

    BIGTOP-3040: Solr's default configsets doesn't work with smoke test cases
    
    The default configsets used in solr is data_driven_schema_configs, which
    doesn't work with solr smoke test, TestIndexing:testSearch. The reason is
    in data_driven_schema_configs "name" is treated as StrField, not TextField,
    so the words will not be tokenized, and lead to unexpected query result.
    sample_techproducts_configs should be used.
    
    Change-Id: I170c9530ed937410dcd99c975276c30777b24045
    Signed-off-by: Jun He <ju...@linaro.org>

----


> Solr's default configsets doesn't work with smoke test cases
> ------------------------------------------------------------
>
>                 Key: BIGTOP-3040
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3040
>             Project: Bigtop
>          Issue Type: Bug
>          Components: solr, tests
>    Affects Versions: 1.2.1
>            Reporter: Jun He
>            Priority: Major
>
> The default configsets used in solr is data_driven_schema_configs, which doesn't work with solr smoke test {{TestIndexing:testSearch}}. The reason is in {{data_driven_schema_configs}} "name" is treated as StrField, not TextField, so the words will not be tokenized, and lead to unexpected query result.
> {{sample_techproducts_configs}} should be used.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)