-
Bug
-
Resolution: Fixed
-
Major
-
4.0RC4
-
None
-
None
When selecting "documents" type in search criteria, the number of results in 479 !
The solr query is
q=*:*&start=0&rows=2147483647&fl=id,score&fq=site:www&fq=sitemap:fr&fq=&fq=(_documentType:"page" OR _documentType:"pageResource")&fq=((*:* AND -_documentType:page) OR (aclReadAllowAnonymous:true OR (aclReadAllowAnyConnectedUser:true AND (*:* -((aclReadDeniedUsers:(admin#ametys_demo_users) OR ((*:* -aclReadAllowedUsers:(admin#ametys_demo_users))))))) OR (((*:* -aclReadDeniedUsers:(admin#ametys_demo_users))) OR (aclReadAllowedUsers:(admin#ametys_demo_users) AND (*:* -aclReadDeniedUsers:(admin#ametys_demo_users))))))&fq=((*:* AND -_documentType:content) OR (aclReadAllowAnonymous:true OR {!join from=id to=pageIds v="aclReadAllowAnonymous:true"} OR ((aclReadAllowedUsers:(admin#ametys_demo_users) AND (*:* -aclReadDeniedUsers:(admin#ametys_demo_users))) AND (*:* - pageIds:* OR {!join from=id to=pageIds v="(*:* -(aclReadDeniedUsers:(admin#ametys_demo_users)))"})) OR ({!join from=id to=pageIds v="(aclReadAllowedUsers:(admin#ametys_demo_users) AND (*:* -aclReadDeniedUsers:(admin#ametys_demo_users)))"} AND (*:* -(aclReadDeniedUsers:(admin#ametys_demo_users)))) OR (aclReadAllowAnyConnectedUser:true AND (*:* - pageIds:* OR {!join from=id to=pageIds v="(*:* -(aclReadAllowAnyConnectedUser:false))"}) AND ((*:* -(aclReadDeniedUsers:(admin#ametys_demo_users))) AND (*:* - pageIds:* OR {!join from=id to=pageIds v="(*:* -(aclReadDeniedUsers:(admin#ametys_demo_users)))"}))) OR ((*:* -(aclReadAllowAnyConnectedUser:false)) AND {!join from=id to=pageIds v="aclReadAllowAnyConnectedUser:true"} AND ((*:* -(aclReadDeniedUsers:(admin#ametys_demo_users))) AND (*:* - pageIds:* OR {!join from=id to=pageIds v="(*:* -(aclReadDeniedUsers:(admin#ametys_demo_users)))"})))))&sort=score desc
In v3.x, we have only page's attachments
See. http://demo.ametys.org/fr/aide/recherche.html
[CMS-8275] Search on document type returns a lot of results
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Fix Version/s | New: 4.0RC5 [ 14110 ] | |
Fix Version/s | Original: 4.0 [ 12884 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Attachment | New: capture-for-jira-screenshot-20170523-183433-643.png [ 19279 ] |