You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2013/10/27 22:47:32 UTC

[jira] [Assigned] (SOLR-5394) facet.method=fcs seems to be using threads when it shouldn't

     [ https://issues.apache.org/jira/browse/SOLR-5394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller reassigned SOLR-5394:
---------------------------------

    Assignee: Mark Miller

> facet.method=fcs seems to be using threads when it shouldn't
> ------------------------------------------------------------
>
>                 Key: SOLR-5394
>                 URL: https://issues.apache.org/jira/browse/SOLR-5394
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6
>            Reporter: Michael McCandless
>            Assignee: Mark Miller
>
> 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
(v6.1#6144)

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


Re: [jira] [Assigned] (SOLR-5394) facet.method=fcs seems to be using threads when it shouldn't

Posted by Mark Miller <ma...@gmail.com>.
A misclick on the fancy new JIRA UI I guess - just meant to setup a watch.

- Mark

On Oct 27, 2013, at 5:47 PM, Mark Miller (JIRA) <ji...@apache.org> wrote:

> 
>     [ https://issues.apache.org/jira/browse/SOLR-5394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Mark Miller reassigned SOLR-5394:
> ---------------------------------
> 
>    Assignee: Mark Miller
> 
>> facet.method=fcs seems to be using threads when it shouldn't
>> ------------------------------------------------------------
>> 
>>                Key: SOLR-5394
>>                URL: https://issues.apache.org/jira/browse/SOLR-5394
>>            Project: Solr
>>         Issue Type: Bug
>>   Affects Versions: 4.6
>>           Reporter: Michael McCandless
>>           Assignee: Mark Miller
>> 
>> 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
> (v6.1#6144)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 


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