Solr/Lucene非常基本的家伙 [英] Very basic dude with Solr/Lucene

查看:74
本文介绍了Solr/Lucene非常基本的家伙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个在Lucene中拥有大量数据的项目中工作.我们需要显示一个多面搜索,并且尝试使用常规Lucene访问进行模拟时,它所需要的时间是不可接受的.

I am working in a project that has a large amount of data in Lucene. We need to show a faceted search and the time required for it is unacceptable when trying to simulate it using regular Lucene accesss.

我一直在阅读有关Solr的文章,但是有关此基本知识的教程并不十分清楚:

I have been reading about Solr, but tutorials are not very clear about this basic point:

使用Solr和Lucene是否以相同的方式存储数据?我的意思是,我可以使用Solr访问存储在Lucene中的数据,还是必须进行数据迁移?

Is the data stored in the same way using Solr and Lucene? I mean, could I access the data I have stored with Lucene by using Solr or would I have to make a data migration?

推荐答案

是的,您可以在Solr实例中使用相同的Lucene索引.您只需要创建一个schema.xml来匹配您索引中的字段即可.

Yes, you can use the same Lucene index in a Solr instance. You only need to create a schema.xml to match the fields you have in your index.

这篇关于Solr/Lucene非常基本的家伙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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