<?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 [Alfresco 5.2] weird search result in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-weird-search-result/m-p/127232#M34582</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using the search API and technically it works : I mean I'm able to have a result .. but the result is pretty weird&amp;nbsp;&lt;/P&gt;&lt;P&gt;My query is something like&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ curl -X POST \
"http://localhost:8080/alfresco/api/-default-/public/search/versions/1/search" \
-H  "accept: application/json" -H  "authorization: Basic YWRtaW46YWRtaW4=" \
-H  "Content-Type: application/json" \
-d "{  \"query\": {    \"query\": \"irfm:docId:*\"  }}"&lt;/PRE&gt;&lt;P&gt;I put in in a simple script that take the research pattern in argument&lt;/P&gt;&lt;P&gt;./search.sh &lt;STRONG&gt;irfm:docId:I0001??????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I0001?????? result = &lt;STRONG&gt;1552&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;./search.sh &lt;STRONG&gt;irfm:docId:I0002??????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I0002?????? result = &lt;STRONG&gt;1000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(in that case it's really astonishing to have such a round result .. )&lt;BR /&gt;&lt;BR /&gt;./search.sh &lt;STRONG&gt;irfm:docId:I0003??????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I0003?????? result = &lt;STRONG&gt;960&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;./search.sh &lt;STRONG&gt;irfm:docId:I0004??????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I0004?????? result = &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ok this could be fine but when I verify and try to look at every nodes the result is NOT the sum of all subresults&amp;nbsp;&lt;/P&gt;&lt;P&gt;./search.sh &lt;STRONG&gt;irfm:docId:I000???????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I000??????? result = &lt;STRONG&gt;1040&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It's the same result with the star wildcard ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;./search.sh &lt;STRONG&gt;irfm:docId:I000*&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I000* result = &lt;STRONG&gt;1040&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;What am I doing wrong ?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 07:39:25 GMT</pubDate>
    <dc:creator>JC83</dc:creator>
    <dc:date>2022-06-07T07:39:25Z</dc:date>
    <item>
      <title>[Alfresco 5.2] weird search result</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-weird-search-result/m-p/127232#M34582</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using the search API and technically it works : I mean I'm able to have a result .. but the result is pretty weird&amp;nbsp;&lt;/P&gt;&lt;P&gt;My query is something like&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ curl -X POST \
"http://localhost:8080/alfresco/api/-default-/public/search/versions/1/search" \
-H  "accept: application/json" -H  "authorization: Basic YWRtaW46YWRtaW4=" \
-H  "Content-Type: application/json" \
-d "{  \"query\": {    \"query\": \"irfm:docId:*\"  }}"&lt;/PRE&gt;&lt;P&gt;I put in in a simple script that take the research pattern in argument&lt;/P&gt;&lt;P&gt;./search.sh &lt;STRONG&gt;irfm:docId:I0001??????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I0001?????? result = &lt;STRONG&gt;1552&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;./search.sh &lt;STRONG&gt;irfm:docId:I0002??????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I0002?????? result = &lt;STRONG&gt;1000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(in that case it's really astonishing to have such a round result .. )&lt;BR /&gt;&lt;BR /&gt;./search.sh &lt;STRONG&gt;irfm:docId:I0003??????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I0003?????? result = &lt;STRONG&gt;960&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;./search.sh &lt;STRONG&gt;irfm:docId:I0004??????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I0004?????? result = &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ok this could be fine but when I verify and try to look at every nodes the result is NOT the sum of all subresults&amp;nbsp;&lt;/P&gt;&lt;P&gt;./search.sh &lt;STRONG&gt;irfm:docId:I000???????&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I000??????? result = &lt;STRONG&gt;1040&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It's the same result with the star wildcard ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;./search.sh &lt;STRONG&gt;irfm:docId:I000*&lt;/STRONG&gt;&lt;BR /&gt;term = irfm:docId:I000* result = &lt;STRONG&gt;1040&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;What am I doing wrong ?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 07:39:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-weird-search-result/m-p/127232#M34582</guid>
      <dc:creator>JC83</dc:creator>
      <dc:date>2022-06-07T07:39:25Z</dc:date>
    </item>
  </channel>
</rss>

