开发者

Search based on words of a phrase, just like SO related questions

开发者 https://www.devze.com 2023-02-24 02:14 出处:网络
I\'m trying to get search results just like the stack overflow Related question开发者_运维技巧s, when you ask a new question.

I'm trying to get search results just like the stack overflow Related question开发者_运维技巧s, when you ask a new question.

How can I do with lucene, a search which would match all words or at least one or two words in my phrase ?


There's a Lucene contribution called MoreLikeThis that does what you're looking for. Here's an article on using it: Using Lucene and MoreLikeThis to show related content.

0

精彩评论

暂无评论...
验证码 换一张
取 消