Skip to main content
1-Visitor
February 5, 2025
Question

Query-Objects webject failing with PartialResultException

  • February 5, 2025
  • 1 reply
  • 320 views
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.7

We are getting below exception for Query-Objects IE query. This is paginated query with Page Count as 10. But still it is giving below exception. com.ptc.core.command.common.CommandException: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator. Nested exception is: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator.
In the PTC Article (CS421694), It is mentioned Query-Objects does not fail with this exception if we have Page Count mentioned.

Here are the errors that I faced
com.ptc.core.command.common.CommandException: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator. Nested exception is: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator.

    1 reply

    18-Opal
    February 5, 2025

    @SA_10896989 

    Try setting wt.pom.queryLimit=-1    (this is the default so it might already be set this way)

    com.ptc.windchill.search.queryLimit=-1    (default is 5000)

     

    But be careful as -1 means no limit.

    If you don't want no limit just bump them up to an acceptable limit.