[hibernate-dev] HSearch-133

John Griffin jgriffin at thebluezone.net
Sun Dec 16 17:02:20 EST 2007


Emmanuel,

 

I have the index creation working. About searching though, the user will
have to supply the similarity class. There is no way of knowing what
similarity was use to build an index and Similarities must be kept the same
between indexing and searching or results are undefined. The query had to be
told. Do you want to have a similarity setter in FullTextQueryImpl or an
overloaded constructor. 

 

When we created the index, each entity could have its own similarity. If
this is the case the similarity will have to be identified by entity. To do
this we will have to build a MultiSearcher instead of a MultiReader. The
Similarity can only be set on Searchables. I don't think this is a big
issue, it's not that big or difficult of a change to make. Thoughts?

 

John G.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20071216/e737a415/attachment.html 


More information about the hibernate-dev mailing list