Uwe Schindler wrote:
It is technically doable since 2.9 with FileSwitchDirectory, where you can
define file name endings as a filter to which underlying directory the
requests go, see
http://lucene.apache.org/java/2_9_1/api/core/org/apache/lucene/store/FileSwi
tchDirectory.html

To have more directories, just use another FileSwitchDirectory as secondary
and so on.

You guys are too sophisticated ;) I know some people have been using a lo-tek solution commonly known as symlinks - i.e. they put prx and frq files on an SSD and the rest on a regular HDD, and create symlinks to prx and frq. This works well with static indexes (no updates, no merges), and doesn't require code modifications in existing apps.

Seriously, though, I agree that FileSwitchDirectory is the way to go.

--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to