简体   繁体   English

我如何将 NLP 与 solr 集成以进行 NLP 搜索

[英]How I integrate NLP with solr for NLP search

I am working on solr 8 version.我正在开发 solr 8 版本。 I want to integrate solr with NLP improve the search relevancy.我想将 solr 与 NLP 集成以提高搜索相关性。 I am unable to find any solution.我找不到任何解决方案。 please help me to configure and intergrate solr with NLP请帮我配置 solr 并将其与 NLP 集成

Here is a starting point for what you are asking for, for the 8.2 solr version:对于 8.2 solr 版本,这是您所要求的起点:

Integrating openNLP with solr 8.2 将 openNLP 与 solr 8.2 集成

Also, here is another link where you can see some things in action with openNLP and solr with respect to search relevancy:此外,这里是另一个链接,您可以在其中查看有关搜索相关性的 openNLP 和 solr 的一些操作:

Named Entity Extraction with OpenNLP 使用 OpenNLP 进行命名实体提取

There is a Medium post on how to add embedding to solr.有一篇关于如何向 solr 添加嵌入的 Medium 帖子。 I suggested you to use Sentence-transformers from Huggingface library to build sentence embedding.我建议你使用 Huggingface 库中的 Sentence-transformers 来构建句子嵌入。

https://medium.com/swlh/fun-with-apache-lucene-and-bert-embeddings-c2c496baa559 https://medium.com/swlh/fun-with-apache-lucene-and-bert-embeddings-c2c496baa559

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

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