Hi Check out a class called MoreLikeThis in lucene. It should solve your problem.
Naveen Kumar On Fri, Jul 9, 2010 at 3:42 AM, Igor Chudov <ichu...@gmail.com> wrote: > Hello, > > My name is Igor and I own a website algebra.com. I just joined. > > I have a database of answered algebra questions (208,000 and growing). > > A typical question is here (original spelling): > > ``who long does it take 2 people to finish painting a house if the > first one takes 6 days and the second one takes 9 days'' > > What I would like to do is, for anyone viewing a archived problem, to > find "top 10 similar problems" that would be most "similar" to the > currently viewed query. Note that meaning of similar is not defined in > my question. > > Is Lucene even capable of this sort of thing? > > Could I expect reasonable performance (under 1-2 seconds) from it? > > thanks a bunch guys. > > i > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >