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

Alexander Koval updated SOLR-4763:
----------------------------------

    Description: 
I do not know whether this is bug or not. But calculating facets with 
{{group.facet=true}} is too slow.

I have query that:
{code}
"matches": 730597,
"ngroups": 24024,
{code}

1. All queries with {{group.facet=true}}:
{code}
"QTime": 5171
"facet": {
    "time": 4716
{code}

2. Without {{group.facet}}:
* First query:
{code}
"QTime": 3284
"facet": {
    "time": 3104
{code}

* Next queries:
{code}
"QTime": 230,
"facet": {
    "time": 76
{code}

So I think with {{group.facet=true}} Solr doesn't use cache to calculate facets.

Is it possible to improve performance of facets when {{group.facet=true}}?

  was:
I do not know whether this is bug or not. But calculating facets with 
{{group.facet=true}} is too slow.

I have query that:
{code}
"matches": 730597,
"ngroups": 24024,
{code}

1. All queries with {{group.facet=true}}:
{code}
"QTime": 5171
"facet": {
    "time": 4716
{code}

2. Without {{group.facet}}:
* First query:
{code}
"QTime": 3284
"facet": {
    "time": 3104
{code}

* Next queries:
{code}
"QTime": 230,
"facet": {
    "time": 76
{code}

So I think without {{group.facet}} Solr uses cache to calculate facets.

Is it possible to improve performance of facets when {{group.facet=true}}?

    
> Performance issue when using group.facet=true
> ---------------------------------------------
>
>                 Key: SOLR-4763
>                 URL: https://issues.apache.org/jira/browse/SOLR-4763
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.2
>            Reporter: Alexander Koval
>
> I do not know whether this is bug or not. But calculating facets with 
> {{group.facet=true}} is too slow.
> I have query that:
> {code}
> "matches": 730597,
> "ngroups": 24024,
> {code}
> 1. All queries with {{group.facet=true}}:
> {code}
> "QTime": 5171
> "facet": {
>     "time": 4716
> {code}
> 2. Without {{group.facet}}:
> * First query:
> {code}
> "QTime": 3284
> "facet": {
>     "time": 3104
> {code}
> * Next queries:
> {code}
> "QTime": 230,
> "facet": {
>     "time": 76
> {code}
> So I think with {{group.facet=true}} Solr doesn't use cache to calculate 
> facets.
> Is it possible to improve performance of facets when {{group.facet=true}}?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to