lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (SOLR-5394) facet.method=fcs seems to be using threads when it shouldn't
Date Fri, 21 Mar 2014 19:29:44 GMT


Michael McCandless commented on SOLR-5394:

[~dmitry_key] Unfortunately the env where I originally hit this is long since gone ... if
your test case shows the issue fixed, I trust that :)

> facet.method=fcs seems to be using threads when it shouldn't
> ------------------------------------------------------------
>                 Key: SOLR-5394
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6
>            Reporter: Michael McCandless
>         Attachments: SOLR-5394.patch, SOLR-5394.patch, SOLR-5394_keep_threads_original_value.patch
> 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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message