cancel
Showing results for 
Search instead for 
Did you mean: 

query header

pmarreddy
Champ in-the-making
Champ in-the-making
hi there,

i am trying to limit the no of results i get from teh search each time for that i specified the fetchsize value in the header but some how i am getting back all results not the specified size. so i put must understand for the queryconfiguration element i get soap exeception that, must understand element did not get processed.

<QueryHeader xmlns="http://www.alfresco.org/ws/service/repository/1.0">
   <QueryConfiguration>
    <fetchSize>
10    </fetchSize>
   </QueryConfiguration>
  </QueryHeader>

this is my header. is it right….

is the header element implemented….

thanks prasanth
3 REPLIES 3

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Yes the query header is implemented.

Perhaps you could provide the test code that is failing.  This may help to determine whether this is a bug or not.

Cheers,
Roy

garyd
Champ in-the-making
Champ in-the-making
I set the QueryConfiguration fetchSize but it doesn't seem to affect the number of results returned.  Was it ever resolved?

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

If your seeing issues with this then it may well be a bug.

If you have some example code that's failing for you I'd suggest logging an issue in JIRA (http://issues.alfresco.com), along with the failing code.  This allows us to schedule the fix appropriately.

Cheers,
Roy