[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-119) Enable lucene similarity search based on term frequency vector by QBE-like query

Sanne Grinovero (JIRA) noreply at atlassian.com
Fri Jun 12 09:01:33 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33403#action_33403 ] 

Sanne Grinovero commented on HSEARCH-119:
-----------------------------------------

this is interesting, are there suggestions for the API?

I was thinkig about something like 

FullTextQuery similar( type.class, Serializable id, String[] fields );

or

FullTextQuery similar( Object indexedEntityInstance, String[] fields );

> Enable lucene similarity search based on  term frequency vector by QBE-like query 
> ----------------------------------------------------------------------------------
>
>                 Key: HSEARCH-119
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-119
>             Project: Hibernate Search
>          Issue Type: New Feature
>            Reporter: Xin Wu
>             Fix For: 3.2.0
>
>
> Scenario:
> Your bookstore application needs a function as follow:
> When a user see a list of books, there is a similar books button for each book. If user clicks this button of one book item, the similar books will be listed. The similarity is evaluated by all terms in summary of the book and similarity score is dirived from Lucene search similarity package which uses term frequency vectors in calculation. It will compare the target in all corresponding documents in the index and return the hits in order. 
> Note: this funtion is not same as fuzzy query which still needs a definite query condition. In the contrast, similarity search only needs one or several fields (of object/document)to be specified and the rest will be automatically caculated by lucene.
> A QBE-like API should be used to make such query. You can specify the fields in such query.
> Please see discussion about this topic in the forum: http://forum.hibernate.org/viewtopic.php?t=979692

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list