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

maven compilation error - symbol not found - ShardFieldSortedHitQueue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.0-ALPHA
    • None
    • Build

    Description

      maven building fails at several point due to organization of tests however even when you bypass test compilation, you get "symbol not found" error in QueryComponent.java.

      The reason is that the ShardFieldSortedHitQueue is a class defined in ShardDoc.

      class cannot be found during maven compilation although they're under the same package.

      Workaroud: if you promote ShardFieldSortedHitQueue to be public, and put it in a file of its own, maven compilation goes well.

      There seems to be several boundary problems within core and solrj packages about the tests.

      Attachments

        Activity

          People

            sarowe Steven Rowe
            ukyo Ukyo Virgden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: