| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
<html> |
| 18 |
<head> |
| 19 |
<title> |
| 20 |
miscellaneous |
| 21 |
</title> |
| 22 |
</head> |
| 23 |
<body> |
| 24 |
|
| 25 |
<h1>Misc Tools</h1> |
| 26 |
|
| 27 |
The misc package has various tools for splitting/merging indices, |
| 28 |
changing norms, finding high freq terms, and others. |
| 29 |
|
| 30 |
<a id="DirectIODirectory"></a> |
| 31 |
<h2>DirectIODirectory</h2> |
| 32 |
|
| 33 |
<p> |
| 34 |
{@link org.apache.lucene.misc.store.DirectIODirectory} is a Directory implementation that bypasses the |
| 35 |
OS's buffer cache (using direct IO) for any IndexInput and IndexOutput |
| 36 |
used during merging of segments larger than a specified size (default |
| 37 |
10 MB). This avoids evicting hot pages that are still in-use for |
| 38 |
searching, keeping search more responsive while large merges run. |
| 39 |
|
| 40 |
<p> |
| 41 |
See <a target="_top" href="http://blog.mikemccandless.com/2010/06/lucene-and-fadvisemadvise.html">this blog post</a> |
| 42 |
for details. |
| 43 |
|
| 44 |
</body> |
| 45 |
|
| 46 |
</html> |