Topic by Phil Paris
1. The query
a. We are using this query. "SELECT Answer FROM Answer LIMIT {0} OFFSET {1};";
b. Essentially, after a few loops, this queries all the Answers for the account (or should)
c. The result of this is 7343 rows. We did find that there are about 100 to 200 rows that have a published date == null, so those will be discarded.
2. The comparison
a. Now that we have a list of all the answers from RN I did a search in those results for [sample search], vs the results when I search for [sample search] on RN (the custhelp website).
i. SELECT [ID]
ii. ,[Summary]
iii. ,[Question]
iv. ,[Solution]
v. ,[Keywords]
vi. ,[Name]
vii. ,[Comment]
viii. FROM [Answers_Sandbox].[dbo].[Answer]
ix. where
x. Summary like '%[sample search]%'
xi. or Question like '%[sample search]%'
xii. or Solution like '%[sample search]%'
xiii. or Keywords like '%[sample search]%'
b. This results in 27 rows being returned from what we queried.
c. When I go to [subdomain].custhelp.com and search for [sample search], I get 22 rows returned.
d. The summaries of each of the result sets were then compared.
iii. I only had 3 matches from what the SOAP API Returned to what the Answers query returned.
My question is this:
Why are the results different?
How can I query using the SOAP API to return the same number of results as the custhelp site?
We are querying based on the documentation list here: http://documentation.custhelp.com/euf/assets/devdocs/august2014/Connect_Web_Services_for_SOAP/Default.htm