<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CMIS query gives SOLR 400 error with query in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/cmis-query-gives-solr-400-error-with-query/m-p/486409#M39807</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I have this CMIS Query that works in Postman.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;SELECT * FROM cmis:folder WHERE CONTAINS('PATH:"//app:company_home/st:sites/cm:SOCIALEDOSSIERS/cm:documentLibrary/*"')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This returns me a nice JSON:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
            "properties": {
                "cmis:objectId": {
                    "id": "cmis:objectId",
                    "localName": "objectId",
                    "queryName": "cmis:objectId",
                    "type": "id",
                    "cardinality": "single",
                    "value": "47b4d4bf-6f73-4422-a0e7-f635833d93e1"
                },
                "alfcmis:nodeRef": {
                    "id": "alfcmis:nodeRef",
                    "localName": "nodeRef",
                    "queryName": "alfcmis:nodeRef",
                    "type": "id",
                    "cardinality": "single",
                    "value": "workspace://SpacesStore/47b4d4bf-6f73-4422-a0e7-f635833d93e1"
                },
                "cmis:path": {
                    "id": "cmis:path",
                    "localName": "path",
                    "displayName": "Path",
                    "queryName": "cmis:path",
                    "type": "string",
                    "cardinality": "single",
                    "value": "/Sites/SOCIALEDOSSIERS/documentLibrary/2003_41"
                },
                "cmis:allowedChildObjectTypeIds": {
                    "id": "cmis:allowedChildObjectTypeIds",
                    "localName": "allowedChildObjectTypeIds",
                    "displayName": "Allowed Child Object Types Ids",
                    "queryName": "cmis:allowedChildObjectTypeIds",
                    "type": "id",
                    "cardinality": "multi",
                    "value": null
                }
                    ]
                }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use the "2003_41"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;SELECT * FROM cmis:folder WHERE CONTAINS('PATH:"//app:company_home/st:sites/cm:SOCIALEDOSSIERS/cm:documentLibrary/cm:2003_41/*"')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "exception": "runtime",
    "message": "00231702 Solr request failed with 400 /solr/alfresco/cmis?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=10000&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=en_US&amp;amp;alternativeDic=DEFAULT_DICTIONARY&amp;amp;cmisVersion=CMIS_1_1&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this link, &lt;A href="https://stackoverflow.com/questions/37290779/lucene-search-in-alfresco" target="_blank"&gt;https://stackoverflow.com/questions/37290779/lucene-search-in-alfresco&lt;/A&gt;,&amp;nbsp; but this does not work either, then the results list is empty. But there should return 2 folders.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the contents of this folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2025 09:53:52 GMT</pubDate>
    <dc:creator>DM8800</dc:creator>
    <dc:date>2025-01-23T09:53:52Z</dc:date>
    <item>
      <title>CMIS query gives SOLR 400 error with query</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-query-gives-solr-400-error-with-query/m-p/486409#M39807</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I have this CMIS Query that works in Postman.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;SELECT * FROM cmis:folder WHERE CONTAINS('PATH:"//app:company_home/st:sites/cm:SOCIALEDOSSIERS/cm:documentLibrary/*"')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This returns me a nice JSON:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
            "properties": {
                "cmis:objectId": {
                    "id": "cmis:objectId",
                    "localName": "objectId",
                    "queryName": "cmis:objectId",
                    "type": "id",
                    "cardinality": "single",
                    "value": "47b4d4bf-6f73-4422-a0e7-f635833d93e1"
                },
                "alfcmis:nodeRef": {
                    "id": "alfcmis:nodeRef",
                    "localName": "nodeRef",
                    "queryName": "alfcmis:nodeRef",
                    "type": "id",
                    "cardinality": "single",
                    "value": "workspace://SpacesStore/47b4d4bf-6f73-4422-a0e7-f635833d93e1"
                },
                "cmis:path": {
                    "id": "cmis:path",
                    "localName": "path",
                    "displayName": "Path",
                    "queryName": "cmis:path",
                    "type": "string",
                    "cardinality": "single",
                    "value": "/Sites/SOCIALEDOSSIERS/documentLibrary/2003_41"
                },
                "cmis:allowedChildObjectTypeIds": {
                    "id": "cmis:allowedChildObjectTypeIds",
                    "localName": "allowedChildObjectTypeIds",
                    "displayName": "Allowed Child Object Types Ids",
                    "queryName": "cmis:allowedChildObjectTypeIds",
                    "type": "id",
                    "cardinality": "multi",
                    "value": null
                }
                    ]
                }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use the "2003_41"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;SELECT * FROM cmis:folder WHERE CONTAINS('PATH:"//app:company_home/st:sites/cm:SOCIALEDOSSIERS/cm:documentLibrary/cm:2003_41/*"')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "exception": "runtime",
    "message": "00231702 Solr request failed with 400 /solr/alfresco/cmis?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=10000&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=en_US&amp;amp;alternativeDic=DEFAULT_DICTIONARY&amp;amp;cmisVersion=CMIS_1_1&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this link, &lt;A href="https://stackoverflow.com/questions/37290779/lucene-search-in-alfresco" target="_blank"&gt;https://stackoverflow.com/questions/37290779/lucene-search-in-alfresco&lt;/A&gt;,&amp;nbsp; but this does not work either, then the results list is empty. But there should return 2 folders.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the contents of this folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 09:53:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-query-gives-solr-400-error-with-query/m-p/486409#M39807</guid>
      <dc:creator>DM8800</dc:creator>
      <dc:date>2025-01-23T09:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query gives SOLR 400 error with query</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-query-gives-solr-400-error-with-query/m-p/486411#M39808</link>
      <description>&lt;P&gt;Got it working with&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;SELECT * FROM cmis:document WHERE CONTAINS('PATH:"//app:company_home/st:sites/cm:SITE/cm:documentLibrary/cm:_x0032_003_41/cm:_x0031__Extern/*"')&lt;/LI-CODE&gt;&lt;P&gt;It took the SOLR indexer some time to index it.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 12:00:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-query-gives-solr-400-error-with-query/m-p/486411#M39808</guid>
      <dc:creator>DM8800</dc:creator>
      <dc:date>2025-01-23T12:00:54Z</dc:date>
    </item>
  </channel>
</rss>

