Re: [hibernate-dev] HSearch-133

2007-12-18 Thread Emmanuel Bernard
Big -1 on forcing the user to supply the same similarity, We need to keep a similarity per entity in the SearchFactory so that the query can then retrieve it. The reason I chose IndexReader (and Multireader) was because Searcher is a much weaker abstraction, so you cannot do all the things

Re: [hibernate-dev] HSearch-133

2007-12-01 Thread Emmanuel Bernard
is it specific to a given index or should rather be global for all indexes? If the latter, I would remove .default which is really here for index based properties. On Dec 1, 2007, at 14:23, John Griffin wrote: I’m starting work on 133. I believe the class that overrides DefaultSimilarity