function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chentwchentw 

Best way to search knowledge base using APIs

I am wondering what the best way is to search knowledge base using WSDL. Currently I am using generic query calls using SOQL. Is there any built-in search engine or other better ways to search items in Solution object? Thanks.
SuperfellSuperfell
See the search call.
chentwchentw
Thank you for your quick response. But I thought the difference between search() and query() is that search() will work on multiple objects. Knowledge base is in Solution object only. So I use query(). Is there any specific call that will do better search on knowledge base? For example, I cannot query on SolutionNote. It limits my query results greatly. Thanks.
SuperfellSuperfell
search will search long text fields, where as you can't filter on those in soql.