Re: How to find related words ?

2013-01-31 Thread Jack Krupansky
ut the best you can do out of the box. -- Jack Krupansky -Original Message- From: Andrew Gilmartin Sent: Thursday, January 31, 2013 9:04 AM To: java-user@lucene.apache.org Subject: Re: How to find related words ? wgggfiy wrote: en, it seems nice, but I'm puzzled by you and

Re: How to find related words ?

2013-01-31 Thread Andrew Gilmartin
wgggfiy wrote: en, it seems nice, but I'm puzzled by you and Andrew Gilmartina above, what's the difference between you guys ? The different is that similar documents do not give you similar terms. Similar documents can show a correlation of terms -- ie, whereever Lucene is mentioned so is So

Re: How to find related words ?

2013-01-30 Thread wgggfiy
en, it seems nice, but I'm puzzled by you and Andrew Gilmartina above, what's the difference between you guys ? and I'm reading the reference about how to *extract relevant terms from the top document(s). * anyway, thx - -- Email: wuqiu.m...@qq.com --

Re: How to find related words ?

2013-01-30 Thread Jack Krupansky
Take a look at MoreLikeThisQuery: http://lucene.apache.org/core/4_1_0/queries/org/apache/lucene/queries/mlt/MoreLikeThisQuery.html And MoreLikeThis itself: http://lucene.apache.org/core/4_1_0/queries/org/apache/lucene/queries/mlt/MoreLikeThis.html So, the idea is search for documents using your

Re: How to find related words ?

2013-01-30 Thread Andrew Gilmartin
wgggfiy wrote: In short, you put in a term like "Lucene", and The ideal output would be "solr", "index", "full-text search", and so on. How to make it ? to find the related words. thx My idea is to use FuzzyQuery, or MoreLikeThis, or calc the score with all the terms and then sort. Any idea ? T