9 --> |
9 --> |
10 <!DOCTYPE concept |
10 <!DOCTYPE concept |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
12 <concept id="GUID-32C1FC8B-F7D2-5275-BDF2-0D662551294C" xml:lang="en"><title>Search-Sort |
12 <concept id="GUID-32C1FC8B-F7D2-5275-BDF2-0D662551294C" xml:lang="en"><title>Search-Sort |
13 Introduction</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 Introduction</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
14 <p>In Symbian OS versions earlier than 9.4, when a search or sort query is |
14 <p>In Symbian OS v9.3 and earlier, when a search or sort query is made by |
15 made by a client, Message Server searches in the permanent file store (a proprietary |
15 a client, Message Server searches in the permanent file store (a proprietary |
16 formatted file), and returns the result to the client. </p> |
16 formatted file), and returns the result to the client. </p> |
17 <p>From Symbian OS version 9.5 onwards Message Server operates with the SQL |
17 <p>From Symbian^3 onwards Message Server operates with the SQL |
18 database to store index entries. With the SQL database implementation the |
18 database to store index entries. With the SQL database implementation the |
19 Message Server makes a query on the SQL index entry table, and returns the |
19 Message Server makes a query on the SQL index entry table, and returns the |
20 result to the client. </p> |
20 result to the client. </p> |
21 <p>The Messaging Middleware module provides an enhanced API for searching |
21 <p>The Messaging Middleware module provides an enhanced API for searching |
22 and sorting messages. This API can be used only when the SQL database is used |
22 and sorting messages. This API can be used only when the SQL database is used |
112 <section id="GUID-98960254-25D6-5F63-9788-255205B6D2BB"><title>Search-sort |
112 <section id="GUID-98960254-25D6-5F63-9788-255205B6D2BB"><title>Search-sort |
113 API summary</title> <p>Use the following APIs available in <filepath>msgs.dll</filepath> for |
113 API summary</title> <p>Use the following APIs available in <filepath>msgs.dll</filepath> for |
114 searching and sorting messages: </p> <fig id="GUID-B16C2CC4-4269-5F23-88C3-33E87F198D88"> |
114 searching and sorting messages: </p> <fig id="GUID-B16C2CC4-4269-5F23-88C3-33E87F198D88"> |
115 <title> High level class diagram of new search-sort API |
115 <title> High level class diagram of new search-sort API |
116 </title> |
116 </title> |
117 <image href="GUID-0E91173A-BA80-5817-866A-7A284573EBCE_d0e471852_href.png" placement="inline"/> |
117 <image href="GUID-0E91173A-BA80-5817-866A-7A284573EBCE_d0e492899_href.png" placement="inline"/> |
118 </fig> <ul> |
118 </fig> <ul> |
119 <li id="GUID-9A2D5945-9D5F-5235-BA4F-500CFE5B2CF0"><p> <xref href="GUID-5D956759-5D21-3715-916E-F7E703172762.dita"><apiname>CMsvSearchSortOperation</apiname></xref> </p> <p>The <xref href="GUID-5D956759-5D21-3715-916E-F7E703172762.dita"><apiname>CMsvSearchSortOperation</apiname></xref> class is used in the client application for enhanced search-sort operations |
119 <li id="GUID-9A2D5945-9D5F-5235-BA4F-500CFE5B2CF0"><p> <xref href="GUID-5D956759-5D21-3715-916E-F7E703172762.dita"><apiname>CMsvSearchSortOperation</apiname></xref> </p> <p>The <xref href="GUID-5D956759-5D21-3715-916E-F7E703172762.dita"><apiname>CMsvSearchSortOperation</apiname></xref> class is used in the client application for enhanced search-sort operations |
120 on the message store. </p> <p>This class can be used for the following: </p> <ul> |
120 on the message store. </p> <p>This class can be used for the following: </p> <ul> |
121 <li id="GUID-7FAD5025-F94D-5824-BFD7-BDFCB83C4F2D"><p>To run a simple or complex |
121 <li id="GUID-7FAD5025-F94D-5824-BFD7-BDFCB83C4F2D"><p>To run a simple or complex |
122 search-sort request. </p> </li> |
122 search-sort request. </p> </li> |