You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ramzi Alqrainy (JIRA)" <ji...@apache.org> on 2011/09/18 17:24:08 UTC
[jira] [Created] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Facet count problem : Multi-Select Faceting After grouping results
-------------------------------------------------------------------
Key: SOLR-2780
URL: https://issues.apache.org/jira/browse/SOLR-2780
Project: Solr
Issue Type: Bug
Components: clients - php
Affects Versions: 4.0
Reporter: Ramzi Alqrainy
Priority: Critical
Dear All ,
Kindly note that I using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Martijn van Groningen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn van Groningen updated SOLR-2780:
----------------------------------------
Affects Version/s: 3.3
3.4
Fix Version/s: 4.0
3.5
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109545#comment-13109545 ]
Ramzi Alqrainy commented on SOLR-2780:
--------------------------------------
Hi Groningen,
I have used your patch and I made FunctionAllGroupHeadsCollector public and when I execute this command
ant dist to build , the below errors are displayed
[javac] 77 errors
[javac] 100 warnings
Please advise
Kindly note that I am using fedora 15 and solr 4.0 that released 13-09
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Martijn van Groningen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn van Groningen updated SOLR-2780:
----------------------------------------
Attachment: SOLR-2780.patch
Updated patch. Both support multi select facets with group.truncate=true for group.field and group.func. Also added test cases for this issue in the grouping tests.
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch, SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Issue Comment Edited] (SOLR-2780) Facet count problem :
Multi-Select Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112379#comment-13112379 ]
Ramzi Alqrainy edited comment on SOLR-2780 at 9/22/11 7:28 AM:
---------------------------------------------------------------
Hi Martjin,
Kindly note that I have used #1626 (20-Sep-2011) instead of #1622 (13-Sep-2011) and every thing work very well , thank you very much Martjin , I am happy to deal with you ;)
was (Author: ramzi alqrainy):
Hi Martjin,
I have used new patch and build solr , please find the attached the errors in the error.txt .
[javac] 6 errors
[javac] 100 warnings
-----------------------------
BUILD FAILED
/home/ramzi/Downloads/apache-solr-4.0-2011-09-13_13-09-25/solr/common-build.xml:258: The following error occurred while executing this line:
/home/ramzi/Downloads/apache-solr-4.0-2011-09-13_13-09-25/lucene/common-build.xml:318: The following error occurred while executing this line:
/home/ramzi/Downloads/apache-solr-4.0-2011-09-13_13-09-25/lucene/common-build.xml:790: Compile failed; see the compiler error output for details.
Please Advise ,
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch, SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramzi Alqrainy updated SOLR-2780:
---------------------------------
Attachment: errors.txt
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch, SOLR-2780.patch, errors.txt, errors.txt
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramzi Alqrainy updated SOLR-2780:
---------------------------------
Attachment: (was: errors.txt)
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch, SOLR-2780.patch, errors.txt
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Martijn van Groningen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107471#comment-13107471 ]
Martijn van Groningen commented on SOLR-2780:
---------------------------------------------
When excluding facets the search is re-executed (inside SimpleFacets) during the facet phase to get a DocSet for the search without some excluding filters. The problem is that for that search the group.truncate parameter isn't checked. This doesn't happen for normal facets, since the search isn't re-executed.
I think to fix this, the SimpleFacets should re-execute the search with a AllGroupHeadsCollector when group.truncate=true at line 167.
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: clients - php
> Affects Versions: 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramzi Alqrainy updated SOLR-2780:
---------------------------------
Attachment: (was: errors.txt)
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch, SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Martijn van Groningen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn van Groningen updated SOLR-2780:
----------------------------------------
Attachment: SOLR-2780.patch
Attached a patch that should fix this issue with the proposed solution.
BTW only supports this when grouping by field . See todo in patch.
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: clients - php
> Affects Versions: 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Attachments: SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramzi Alqrainy updated SOLR-2780:
---------------------------------
Description:
Dear All ,
Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
was:
Dear All ,
Kindly note that I using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: clients - php
> Affects Versions: 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramzi Alqrainy updated SOLR-2780:
---------------------------------
Component/s: (was: clients - php)
search
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Attachments: SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Martijn van Groningen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109826#comment-13109826 ]
Martijn van Groningen commented on SOLR-2780:
---------------------------------------------
Hi Ramzi, So you have 77 errors :) Can you send me what errors you have?
BTW if you just want to use the patch you can just apply it and build Solr (ant clean dist). The patch should work when using group.field parameter.
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107461#comment-13107461 ]
Ramzi Alqrainy commented on SOLR-2780:
--------------------------------------
http://lucene.472066.n3.nabble.com/Facet-count-problem-Multi-Select-Faceting-After-grouping-results-tc3346267.html
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: clients - php
> Affects Versions: 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
>
> Dear All ,
> Kindly note that I using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Martijn van Groningen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112487#comment-13112487 ]
Martijn van Groningen commented on SOLR-2780:
---------------------------------------------
Thanks for testing the patch out!
I've committed the fix for this issue.
Trunk: 1174072
Branch 3x: 1174055
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch, SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Martijn van Groningen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn van Groningen resolved SOLR-2780.
-----------------------------------------
Resolution: Fixed
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch, SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2780) Facet count problem : Multi-Select
Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112379#comment-13112379 ]
Ramzi Alqrainy commented on SOLR-2780:
--------------------------------------
Hi Martjin,
I have used new patch and build solr , please find the attached the errors in the error.txt .
[javac] 6 errors
[javac] 100 warnings
-----------------------------
BUILD FAILED
/home/ramzi/Downloads/apache-solr-4.0-2011-09-13_13-09-25/solr/common-build.xml:258: The following error occurred while executing this line:
/home/ramzi/Downloads/apache-solr-4.0-2011-09-13_13-09-25/lucene/common-build.xml:318: The following error occurred while executing this line:
/home/ramzi/Downloads/apache-solr-4.0-2011-09-13_13-09-25/lucene/common-build.xml:790: Compile failed; see the compiler error output for details.
Please Advise ,
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch, SOLR-2780.patch, errors.txt
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Issue Comment Edited] (SOLR-2780) Facet count problem :
Multi-Select Faceting After grouping results
Posted by "Ramzi Alqrainy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112379#comment-13112379 ]
Ramzi Alqrainy edited comment on SOLR-2780 at 9/22/11 8:37 AM:
---------------------------------------------------------------
Hi Martjin,
Kindly note that I have used #1626 (20-Sep-2011) instead of #1622 (13-Sep-2011) and every thing is working very well , thank you very much Martjin , I am happy to deal with you ;)
was (Author: ramzi alqrainy):
Hi Martjin,
Kindly note that I have used #1626 (20-Sep-2011) instead of #1622 (13-Sep-2011) and every thing work very well , thank you very much Martjin , I am happy to deal with you ;)
> Facet count problem : Multi-Select Faceting After grouping results
> -------------------------------------------------------------------
>
> Key: SOLR-2780
> URL: https://issues.apache.org/jira/browse/SOLR-2780
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.3, 3.4, 4.0
> Reporter: Ramzi Alqrainy
> Priority: Critical
> Fix For: 3.5, 4.0
>
> Attachments: SOLR-2780.patch, SOLR-2780.patch
>
>
> Dear All ,
> Kindly note that I am using Solr 4.0 and Kindly note that group.truncate=true calculates facet counts that based on the most relevant document of each group matching the query.
> But when I used Multi-Select Faceting [Tagging and excluding Filters] , the solr can't calculate the facet after grouping the results and select multi facet.
> http://127.0.0.1:8983/solr/select/?facet=true&sort=score+desc,+rate+desc,total_of_reviews+desc&facet.limit=-1&bf=sum%28product%28atan%28total_of_reviews%29,50%29,product%28rate,10%29%29^4&group.field=place_id&facet.field={!ex%3Dce}cat_en&facet.field={!ex%3Dce}cat_ar&facet.field={!ex%3Dir}iregion&facet.field={!ex%3Dir}region_en&facet.field={!ex%3Dir}region_ar&facet.field={!ex%3Drr}rrate&facet.field=place_status&facet.field=theme_en&facet.field=icity&facet.field={!ex%3Dce}icat&facet.field={!ex%3Dsce}isubcat&facet.field={!ex%3Dsce}subcat_en&facet.field={!ex%3Dsce}subcat_ar&qt=/spell&fq=place_status:1&fq=icity:1&fq=cat_en:%28%22Restaurants%22%29&group.format=simple&group.ngroups=true&facet.mincount=1&qf=title_ar^24+title_en^24+cat_ar^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org