[ https://issues.apache.org/jira/browse/LUCENE-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894471#action_12894471 ]
Thomas D'Silva commented on LUCENE-1910: ---------------------------------------- I extracted the Information Gain code into a separate class. I also added the Apache Software License and reformatted the code to use the Lucene code format. Are there any other changes or modifications that are needed? Thanks, Thomas > Extension to MoreLikeThis to use tag information > ------------------------------------------------ > > Key: LUCENE-1910 > URL: https://issues.apache.org/jira/browse/LUCENE-1910 > Project: Lucene - Java > Issue Type: New Feature > Components: contrib/* > Reporter: Thomas D'Silva > Priority: Minor > Attachments: LUCENE-1910.patch > > > I would like to contribute a class based on the MoreLikeThis class in > contrib/queries that generates a query based on the tags associated > with a document. The class assumes that documents are tagged with a > set of tags (which are stored in the index in a seperate Field). The > class determines the top document terms associated with a given tag > using the information gain metric. > While generating a MoreLikeThis query for a document the tags > associated with document are used to determine the terms in the query. > This class is useful for finding similar documents to a document that > does not have many relevant terms but was tagged. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org