-
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