Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8990

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0.1, 6.1, 7.0
    • Admin UI
    • None

    Description

      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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment