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

facet.method=fcs seems to be using threads when it shouldn't

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.6
    • None
    • faceting
    • None

    Description

      I built a wikipedia index, with multiple fields for faceting.

      When I do facet.method=fcs with facet.field=dateFacet and facet.field=userNameFacet, and then kill -QUIT the java process, I see a bunch (46, I think) of facetExecutor-7-thread-N threads had spun up.

      But I thought threads for each field is turned off by default?

      Even if I add facet.threads=0, it still spins up all the threads.

      I think something is wrong in SimpleFacets.parseParams; somehow, that method returns early (because localParams) is null, leaving threads=-1, and then the later code that would have set threads to 0 never runs.

      Attachments

        1. SOLR-5394_keep_threads_original_value.patch
          0.7 kB
          Dmitry Kan
        2. SOLR-5394.patch
          5 kB
          Dmitry Kan
        3. SOLR-5394.patch
          5 kB
          Vitaliy Zhovtyuk

        Activity

          People

            shalin Shalin Shekhar Mangar
            mikemccand Michael McCandless
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: