简体   繁体   English

除了Lucene.net,在SQL Azure中使用当前不可用的FreeText搜索有哪些替代方法?

[英]What are some alternatives to using the currently-unavailable FreeText search in SQL Azure besides Lucene.net?

We are in the process of planning a migration to Azure. 我们正在计划迁移到Azure。 The current application uses SQL Server FreeText search. 当前的应用程序使用SQL Server FreeText搜索。 However, as I understand it, Azure does not yet support this. 但是,据我了解,Azure尚不支持此功能。 I have read about how to Lucene.net working with Azure to get better search functionality, however, this requires dumping part of the data into blob storage. 我已经阅读了Lucene.net如何与Azure一起使用以获得更好的搜索功能的知识,但是,这需要将部分数据转储到Blob存储中。

In our case, use a data mart with full text search. 在我们的情况下,请使用带有全文搜索的数据集市

In hopes of not rewriting our whole data access portion, we can move the data mart to another db type - NoSQL, or other suggested ones. 为了不重写整个数据访问部分,我们可以将数据集市移动到另一种数据库类型-NoSQL或其他建议的数据库类型。

What are some good alternatives besides Lucene.net that will run on the Azure cloud that will give us the same search features as free text? 除了可以在Azure云上运行的Lucene.net之外,还有哪些不错的替代方法,这些替代方法将为我们提供与自由文本相同的搜索功能?

I would suggest that you run a VM on Azure with Elasticsearch . 我建议您使用Elasticsearch在Azure上运行VM。 Elasticsearch internally still uses Lucene but has created a nicer API to work against and better API then Lucene (IMHO). Elasticsearch在内部仍然使用Lucene,但创建了一个更好的API来使用,并且比Lucene(IMHO)更好。 + it uses Json as data transport. +它使用Json作为数据传输。

This solution will require you to 'index' your data from SQL to your Elasticsearch index to prepare it for free text searching but will result in more influence in the searching process thus better results. 此解决方案将需要您将SQL中的数据“索引”到您的Elasticsearch索引中,以准备进行自由文本搜索,但会在搜索过程中产生更大的影响,从而获得更好的结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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