我可以将Lucene索引存储在数据库或文件系统以外的其他位置吗? [英] Can I store a Lucene index in a database or other location than a file system?

查看:339
本文介绍了我可以将Lucene索引存储在数据库或文件系统以外的其他位置吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Lucene.NET用于我的Web项目.我希望使用Azure将索引迁移到webjobs,但是Lucene使用传统的文件系统"来存储索引.

I use Lucene.NET for my web project. I wish to migrate the indexing to webjobs using Azure, however Lucene uses an traditional 'file system' to store the index.

是否还有其他选项可以存储和写入索引,例如SQL?

Are there other options to stored and write to the index, such as SQL?

推荐答案

Lucene.Net的Azure目录: https://github.com/azure-contrib/AzureDirectory

Azure Directory for Lucene.Net: https://github.com/azure-contrib/AzureDirectory

一点点,也许没有得到很好的支持,但是我没有其他选择.您不能在数据库(无论任何数据库)中存储Lucene数据.只是没有道理.

A bit, and probably not well supported, but there is no another option that I am aware of. You cannot store Lucene data in DB (whatever DB). It just makes no sense.

这篇关于我可以将Lucene索引存储在数据库或文件系统以外的其他位置吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆