Grokbase Groups Lucene dev June 2016
FAQ
[ https://issues.apache.org/jira/browse/SOLR-8990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Rowe reopened SOLR-8990:
------------------------------

Reopening to backport to 5.6 and 5.5.2.
UI: query links from the "Top Terms" table on the Schema Browser page should use the "term" parser
--------------------------------------------------------------------------------------------------

Key: SOLR-8990
URL: https://issues.apache.org/jira/browse/SOLR-8990
Project: Solr
Issue Type: Bug
Components: UI
Reporter: Hoss Man
Assignee: Hoss Man
Fix For: 6.0.1, 6.1, master (7.0)

Attachments: SOLR-8990.patch


If you are using a StrField, or a TextField with a Keyword tokenizer then it's very possible your indexed terms will include white space.
But the links created by the Schema Browser UI screen to serach for a term in the "Top Terms" list assume that just prepending hte term with the fieldname (ie: {{$fieldname + ":" $term}}) will be valid -- and instead they don't match the correct term.
----
Example:
Load the {{example/films}} data into a "films" collection, and then load the Schema Browser page for the "genre" field...
http://127.0.1.1:8983/solr/#/films/schema?field=genre
The "Top Terms" list includes terms such as {{Rommance Film}} but clicking on this term takes you to this URL...
http://127.0.1.1:8983/solr/#/films/query?q=genre:Romance%20Film
...which is just doing a search for "genre:Romance" OR "Film" (in the default field)
Instead it should link to...
http://127.0.1.1:8983/solr/#/gettingstarted/query?q=%7B!term+f=genre%7DRomance+Film


--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org

Search Discussions

  • ASF subversion and git services (JIRA) at Jun 17, 2016 at 8:26 pm
    [ https://issues.apache.org/jira/browse/SOLR-8990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15336879#comment-15336879 ]

    ASF subversion and git services commented on SOLR-8990:
    -------------------------------------------------------

    Commit 2c3f42ff1a74e00d65e04a2f3321a2f3625ddf2c in lucene-solr's branch refs/heads/branch_5_5 from Chris Hostetter
    [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2c3f42f ]

    SOLR-8990: Fix top term links from schema browser page to use {!term} parser

    UI: query links from the "Top Terms" table on the Schema Browser page should use the "term" parser
    --------------------------------------------------------------------------------------------------

    Key: SOLR-8990
    URL: https://issues.apache.org/jira/browse/SOLR-8990
    Project: Solr
    Issue Type: Bug
    Components: UI
    Reporter: Hoss Man
    Assignee: Hoss Man
    Fix For: 6.0.1, 6.1, master (7.0)

    Attachments: SOLR-8990.patch


    If you are using a StrField, or a TextField with a Keyword tokenizer then it's very possible your indexed terms will include white space.
    But the links created by the Schema Browser UI screen to serach for a term in the "Top Terms" list assume that just prepending hte term with the fieldname (ie: {{$fieldname + ":" $term}}) will be valid -- and instead they don't match the correct term.
    ----
    Example:
    Load the {{example/films}} data into a "films" collection, and then load the Schema Browser page for the "genre" field...
    http://127.0.1.1:8983/solr/#/films/schema?field=genre
    The "Top Terms" list includes terms such as {{Rommance Film}} but clicking on this term takes you to this URL...
    http://127.0.1.1:8983/solr/#/films/query?q=genre:Romance%20Film
    ...which is just doing a search for "genre:Romance" OR "Film" (in the default field)
    Instead it should link to...
    http://127.0.1.1:8983/solr/#/gettingstarted/query?q=%7B!term+f=genre%7DRomance+Film


    --
    This message was sent by Atlassian JIRA
    (v6.3.4#6332)

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
    For additional commands, e-mail: dev-help@lucene.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieslucene
postedJun 17, '16 at 8:26p
activeJun 17, '16 at 8:26p
posts2
users1
websitelucene.apache.org

People

Translate

site design / logo © 2019 Grokbase