简体   繁体   中英

Lucene index inside of a database

is it possible to do this? i have an oracle db and wondering if storing an index inside may be the most efficient way to go vs storing the index on a file system. has anyone done this before? is it possible with lucene version 3.x?

It's possible using the Lucene Directory interface, but it's not easy. Many people have tried, but you get terrible performance. The reason is that to execute a search, you have to read the entire index (or segment) out of the database as a blob and run the search on top of it. Very inefficient.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM