|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE task |
|
11 PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"> |
|
12 <task id="GUID-45CA1787-F41F-5AA0-9508-B9D683602D41" xml:lang="en"><title>Configuring |
|
13 the Search-sort Cache</title><abstract><p>Message Server stores all executed queries in the search-sort |
|
14 cache if there is enough space. When the cache is full, the server deletes |
|
15 the least recently used query to accommodate a new search-sort query. The |
|
16 number of queries that the cache can store depends on its size, which is <xref href="GUID-216CD63D-DDA8-5882-B335-3BD79F862D24.dita">configurable</xref>.</p></abstract><prolog><metadata><keywords/></metadata></prolog><taskbody> |
|
17 <context><p>Message Server maintains a search-sort cache internally to store |
|
18 the search-sort queries. The size of the index entry cache and the percentage |
|
19 of the index entry cache for search-sort cache can be configured by licensees |
|
20 using the configuration parameters in the <filepath>msgcache.ini</filepath> configuration |
|
21 file. </p> <p>For example, if the value of index entry cache is 100 KB and |
|
22 the search-sort cache is set to 10 percent, then the size of the search-sort |
|
23 cache is 10 KB and the total size of the cache is 110 KB. For more information |
|
24 on configuring the index entry cache, see <xref href="GUID-2FAB8281-569A-52BE-8BC8-A2D378068706.dita">Caching</xref>. </p><note>The |
|
25 search-sort cache is not persistent when the device reboots. </note> </context> |
|
26 <steps id="GUID-370533E5-0D4F-59C6-B2D3-8A595C766627"> |
|
27 <step id="GUID-CC11FEED-7BDF-520F-B133-25209AC8D4E6"><cmd/> |
|
28 <info>Locate the <filepath>msgcache.ini</filepath> file at <filepath>Z:\private\1000484b\</filepath>. </info> |
|
29 </step> |
|
30 <step id="GUID-2E7D8AB4-602A-57F4-A63D-4976153B3977"><cmd/> |
|
31 <info>Set the <codeph>MsvSearchSortCachePercentage</codeph> parameter to the |
|
32 required percentage. </info> |
|
33 </step> |
|
34 </steps> |
|
35 </taskbody></task> |