Jython scripting - performSearch setMaximumMatches to value greater than 5000
Hi,
(using Collab 8.2 & jython script)
I'm searching bmo a jython script for a specific type of objects (base on a specific ctd), if I set the parameter "setMaximumMatches" to 6000 to get all results ("performSearch.setMaximumMatches(6000)" ), i always get 5000 results back.
I know for sure that there are more than 5000 of those objects, i even added some extra objects afterwards, but the resultcount remains at 5000 (and results are different than before...).
Can this maximum of 5000 be changed, and where should that be ?
Thanks for your reply,
Herman
Comments
-
What specific version of Collab are you using (value from Collab.props)?
What search engine are you using?
Could you set the log level of the indexing service to DEBUG, perform the search again, and attach the gilog.txt from your test?
-Curtis
From: eLink Entry: Vignette Collaboration Developers Forum [mailto:vignettecollaborationdevelopersforum@elinkkc.opentext.com]
Sent: Thursday, October 20, 2016 4:08 AM
To: eLink Recipient
Subject: Jython scripting - performSearch setMaximumMatches to value greater than 5000Jython scripting - performSearch setMaximumMatches to value greater than 5000
Posted by De Vloed, Herman On 10/20/2016 06:03 AM
Hi,
(using Collab 8.2 & jython script)
I'm searching bmo a jython script for a specific type of objects (base on a specific ctd), if I set the parameter "setMaximumMatches" to 6000 to get all results ("performSearch.setMaximumMatches(6000)" ), i always get 5000 results back.
I know for sure that there are more than 5000 of those objects, i even added some extra objects afterwards, but the resultcount remains at 5000 (and results are different than before...).Can this maximum of 5000 be changed, and where should that be ?
Thanks for your reply,
Herman
[To post a comment, use the normal reply function]
Forum:
Content Server:
0 -
Hi Curtis, thanks for your reply.
Version of collab is 8.0.2.64, using Autonomy for indexing. Gilog shows:
[26-Oct-16 11:19:48 (http-443-Processor12)] [DEBUG] Query execution duration (in ms) [3765].
[26-Oct-16 11:19:48 (http-443-Processor12)] [INFO] Engine search query returned [5000] hits, from a total of [193578].
[26-Oct-16 11:19:48 (http-443-Processor12)] [DEBUG] Performing server side authorization filter.
[26-Oct-16 11:19:49 (http-443-Processor12)] [DEBUG] Performing server side context scope and / or invariant filter.
[26-Oct-16 11:19:51 (http-443-Processor12)] [INFO] Search Query: Search Engine Hits [5000], Valid Hits [4999], Readable Hits [4897], In Context Hits [4897].
[26-Oct-16 11:19:51 (http-443-Processor12)] [INFO] Search Query: Total Duration (in ms) [6703], Native Query Execution [3844], ACL Filter Duration [859], Context Filter Duration [1954].
[26-Oct-16 11:19:51 (http-443-Processor12)] [DEBUG] Performing sort on search results.
[26-Oct-16 11:19:51 (http-443-Processor12)] [INFO] Search Query: Sort Duration (in ms) [187].
[26-Oct-16 11:19:51 (http-443-Processor12)] [DEBUG] Search Query: Number of Native Search Executions [1].
i did check all .cfg & globalindexer.init.xml file, but found no reference to a maximum of 5000 hits...
I will create a case with Opentext support (we had issues with searching before and received a newer version of AutonomyIDOLServer.exe (7.5.14) to solve these)
In the mean time I did find a workaround by doing 2 separate searches adding extra attribute queries to the search.
Many thanks for your help!Herman
0 -
Ok, for Autonomy IDOL, you can edit the AutonomyIDOLServer.cfg and increase the “MaxResults” property:
[Server]
...
MaxResults=50000
...
-Curtis
From: eLink Entry: Vignette Collaboration Developers Forum [mailto:vignettecollaborationdevelopersforum@elinkkc.opentext.com]
Sent: Wednesday, October 26, 2016 3:43 AM
To: eLink Recipient
Subject: RE Jython scripting - performSearch setMaximumMatches to value greater than 5000RE Jython scripting - performSearch setMaximumMatches to value greater than 5000
Posted by De Vloed, Herman On 10/26/2016 05:38 AM
Hi Curtis, thanks for your reply.
Version of collab is 8.0.2.64, using Autonomy for indexing. Gilog shows:
[26-Oct-16 11:19:48 (http-443-Processor12)] [DEBUG] Query execution duration (in ms) [3765].
[26-Oct-16 11:19:48 (http-443-Processor12)] [INFO] Engine search query returned [5000] hits, from a total of [193578].
[26-Oct-16 11:19:48 (http-443-Processor12)] [DEBUG] Performing server side authorization filter.
[26-Oct-16 11:19:49 (http-443-Processor12)] [DEBUG] Performing server side context scope and / or invariant filter.
[26-Oct-16 11:19:51 (http-443-Processor12)] [INFO] Search Query: Search Engine Hits [5000], Valid Hits [4999], Readable Hits [4897], In Context Hits [4897].
[26-Oct-16 11:19:51 (http-443-Processor12)] [INFO] Search Query: Total Duration (in ms) [6703], Native Query Execution [3844], ACL Filter Duration [859], Context Filter Duration [1954].
[26-Oct-16 11:19:51 (http-443-Processor12)] [DEBUG] Performing sort on search results.
[26-Oct-16 11:19:51 (http-443-Processor12)] [INFO] Search Query: Sort Duration (in ms) [187].
[26-Oct-16 11:19:51 (http-443-Processor12)] [DEBUG] Search Query: Number of Native Search Executions [1].
i did check all .cfg & globalindexer.init.xml file, but found no reference to a maximum of 5000 hits...
I will create a case with Opentext support (we had issues with searching before and received a newer version of AutonomyIDOLServer.exe (7.5.14) to solve these)
In the mean time I did find a workaround by doing 2 separate searches adding extra attribute queries to the search.
Many thanks for your help!Herman
[To post a comment, use the normal reply function]
Topic:
Jython scripting - performSearch setMaximumMatches to value greater than 5000
Forum:
Content Server:
0
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 145 General Questions
- 132 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 8.9K Extended ECM
- 912 Cloud Fax and Notifications
- 81 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 162 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 4 XM Fax