SearchService API not retrieving results when identical WebVoyage search is (???)
- Article Type: General
- Product: Voyager
- Product Version: 8.0.0
Problem Symptoms:
* GKEY search in WebVoyage returns many results.
* Search for same search using same index with SearchService API (http://<IP>:7014/vxws/SearchService?searchArg=test&searchCode=GKEY%5E*&searchArgType=AND) returns error:
<?xml version="1.0" encoding="UTF-8"?>
<ser:voyagerServiceData xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters">
<ser:messages>
<ser:message type="system" errorCode="com.endinfosys.voyager.search.Search.SearchException">Could not retrieve search results.</ser:message>
</ser:messages>
</ser:voyagerServiceData>
Cause:
SearchService call using search code modifiers specific to WebVoyage: GKEY^* is not supported for SearchService. Relevance and AND are indicated with other URL parameters.
Resolution:
1. Remove the modifiers from the call: GKEY^* (or GKEY%5E*).
2. Replace the WebVoyage-specific modifiers with the appropriate modifiers for SearchService API:
http://<IP>:7014/vxws/SearchService?searchArg=test&searchCode=GKEY&searchArgType=AND&displayRelevanceFlag=Y
Additional Information
See EL Commons > Voyager > Open Interfaces > XML over HTTP > SearchService for supported parameters.
Please note that Voyager Support has a very limited ability to assist with the Voyager APIs. We can help identify the APIs that might be useful to you, and provide basic troubleshooting aid. Voyager-L and Developer Network are useful resources for obtaining additional assistance.
Category: (Voyager)
- Article last edited: 10/8/2013