搜索结果使用Lucene.net进行突出显示

时间:2021-06-11 03:03:14

I'm working on an asp.net application which uses Lucene.net I need to highlight the search results returned from Lucene. I believe there is a Highlighter class which serves this purpose.I am using Lucene.Net version 2.0.0.4 but am not able to find any Highlighter class in it. Kindly help.

我正在使用一个使用Lucene.net的asp.net应用程序我需要突出显示从Lucene返回的搜索结果。我相信有一个Highlighter类用于此目的。我使用的是Lucene.Net版本2.0.0.4,但我无法在其中找到任何Highlighter类。请帮助。

Thanks!

1 个解决方案

#1


10  

While Googling, I found this link: http://incubator.apache.org/lucene.net/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.html. It might be what you're looking for?

谷歌搜索时,我发现了这个链接:http://incubator.apache.org/lucene.net/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.html。这可能是你在找什么?

#1


10  

While Googling, I found this link: http://incubator.apache.org/lucene.net/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.html. It might be what you're looking for?

谷歌搜索时,我发现了这个链接:http://incubator.apache.org/lucene.net/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.html。这可能是你在找什么?