Search inside large table
This search API call allows a user to quickly locate content inside the large table.
Example API call
/servlets3/wietmsd?id=1459258522338&book=PMC-S1000DBIKE-XYENT-00001-01&collection=default&target=query&action=find&ceid=262&search=Congo&op1=&term2=&ignore_case=true&whole_words=false
Parameters
| Parameter | Description |
|---|---|
target | query |
action | find |
id | A session ID that is valid for this collection and publication combination. |
book | The name of the publication, such as PMC-S1000DBIKE-XYENT-00001-01. |
collection | The name of the collection that the publication is registered in, such as default. |
ceid | Internal identifier of the data module, for example, ceid=265 |
search | Searched term, such as Congo |
ignore_case | true, search engine ignores case |
whole_words | false, search engine looks for matches inside the words |
Returns
- On success
-
XML instance expressing the results and information about where those results lie within the large table. The total number of results is represented in a
<TOTAL/>element. Inside a<CEIDS/>element there is a list of CEIDs that contain the searched term.<RESULT> <RESULT-COUNT CEID="269" TOCEID='588' DOCUMENT_ID='S1000DBIKE-A-A1-00-10-00-A-160-A-A' CURRENTPAGE='8' TOTALPAGE='60' TABLE_ID='1' TABLEONLY='TRUE' TITLE='Propulsion - General - Power pack - Loading/Unloading procedure LARGE TABLE ISUUE 4.1 unique words for search (table section 8)'>1</RESULT-COUNT> <RESULT-COUNT CEID="302" TOCEID='654' DOCUMENT_ID='S1000DBIKE-A-A1-00-10-00-A-160-A-A' CURRENTPAGE='41' TOTALPAGE='60' TABLE_ID='1' TABLEONLY='TRUE' TITLE='Propulsion - General - Power pack - Loading/Unloading procedure LARGE TABLE ISUUE 4.1 unique words for search (table section 41)'>1</RESULT-COUNT> <RESULT-COUNT CEID="288" TOCEID='626' DOCUMENT_ID='S1000DBIKE-A-A1-00-10-00-A-160-A-A' CURRENTPAGE='27' TOTALPAGE='60' TABLE_ID='1' TABLEONLY='TRUE' TITLE='Propulsion - General - Power pack - Loading/Unloading procedure LARGE TABLE ISUUE 4.1 unique words for search (table section 27)'>1</RESULT-COUNT> <FOUND-IN-DOC>1</FOUND-IN-DOC> <RESULT-COUNT CEID="316" TOCEID='682' DOCUMENT_ID='S1000DBIKE-A-A1-00-10-00-A-160-A-A' CURRENTPAGE='55' TOTALPAGE='60' TABLE_ID='1' TABLEONLY='TRUE' TITLE='Propulsion - General - Power pack - Loading/Unloading procedure LARGE TABLE ISUUE 4.1 unique words for search (table section 55)'>1</RESULT-COUNT> <RESULT-COUNT CEID="294" TOCEID='638' DOCUMENT_ID='S1000DBIKE-A-A1-00-10-00-A-160-A-A' CURRENTPAGE='33' TOTALPAGE='60' TABLE_ID='1' TABLEONLY='TRUE' TITLE='Propulsion - General - Power pack - Loading/Unloading procedure LARGE TABLE ISUUE 4.1 unique words for search (table section 33)'>1</RESULT-COUNT> <TOTAL>5</TOTAL> <CEIDS>269,302,288,316,294</CEIDS> </RESULT> - On failure
-
<MESSAGE>No Results</MESSAGE>