Re: [hibernate-dev] Question regarding Hibernate Search and multiple indexes for same Entity

2008-02-24 Thread Sanne Grinovero
a type token in the index, so you can filter on one of them or choose to make a global search on all databases. Have you read about Hibernate Search index sharding capabilities? You may get better answers in the user forums: http://forum.hibernate.org/ regards, Sanne Grinovero 2008/2/23, Aleksander M

Re: [hibernate-dev] Re: [Hibernate-JIRA] Commented: (HSEARCH-115) Add a default value for indexing null value

2008-04-23 Thread Sanne Grinovero
the fieldname? regards, Sanne 2008/4/23, Hardy Ferentschik [EMAIL PROTECTED]: Hi again :) One more thing comes to my mind: On Tue, 22 Apr 2008 18:47:14 +0200, Sanne Grinovero [EMAIL PROTECTED] wrote: The Field and StringBridge API would remain as-is; I am not so sure about

[hibernate-dev] Hibernate Search: Master/Slave DirectoryProviders improvements proposal

2008-04-26 Thread Sanne Grinovero
Hello most esteemed developers, I have been scrutinizing the FSMasterDirectoryProvider and FSSlaveDirectoryProvider classes in Hibernate Search and have found some minor glitches and space for some improvement (IMHO); I would like to hear your opinion about it, and if you agree I'll open a JIRA

Re: [hibernate-dev] Hibernate Search: Master/Slave DirectoryProviders improvements proposal

2008-04-27 Thread Sanne Grinovero
Hi Hardy, A -- nice I'm getting the chance to teach something to you gurus.. yes this is really required, locking is fine, but there are two problems there; a) visibility: JVM makes no guarantee another thread will see the changes made to a variable by another thread; it could see it later on

[hibernate-dev] Search and Shard topic up

2008-05-11 Thread Sanne Grinovero
Hi all, I've verified a scaring design problem I found in the forum, it appears that Search and Shards can't be used together: http://forum.hibernate.org/viewtopic.php?t=986285 The problem is that Search needs to cast the session to an EventSource, but when using Shards the provided session is

[hibernate-dev] No successful builds since move to Maven

2008-05-15 Thread Sanne Grinovero
Most esteemed developers, I was developing some patches for Hibernate Search but as I work on it on my own I don't have much time for it; currently some problems about the move to Maven have completely killed my productivity. I have found some reference on your website; The maven guide looks

Re: [hibernate-dev] No successful builds since move to Maven

2008-05-17 Thread Sanne Grinovero
Thanks to everybody, you were all very helpful; all your thoughts together made me clarify the situation and I got a partially useful workspace now. (still no search build but now I understand how to proceed) I'll write down what to do if anyone had to repeat this: 1)for Core you have to checkout

[hibernate-dev] Hibernate Search: approval for changes, commit conventions?

2008-05-28 Thread Sanne Grinovero
Hi Emmanuel, (looking around the sources again) I am making several changes, but I am feeling the urgency to ask your opinion about commit conventions 1)is it ok in case of a code revision to have a commit of 100 files for very trivial changes ( wrong formatting, spelling typos in comments,

[hibernate-dev] Re: Hibernate Search: approval for changes, commit conventions?

2008-05-29 Thread Sanne Grinovero
Hi, I'll cut away the questions I don't need to ask more about. 2008/5/29 Emmanuel Bernard [EMAIL PROTECTED]: Hi Sanne On May 28, 2008, at 14:01, Sanne Grinovero wrote: [...] 1)is it ok in case of a code revision to have a commit of 100 files for very trivial changes ( wrong formatting

[hibernate-dev] some simple questions for Search dev

2008-06-04 Thread Sanne Grinovero
Hello, I need some suggestion to name new parameters in H.Search; I'm implementing the parameter for FSMasterDirectoryProvider and FSSlaveDirectoryProvider to select an appropriate chunk size: the amount of bytes to have java.nio attempt to transfer at once; (we have to limit it as huge files

[hibernate-dev] Hibernate Search: massive batch indexing

2008-06-06 Thread Sanne Grinovero
Hello list, I've finally finished some performance test about stuff I wanted to double-check before writing stupid ideas to this list, so I feel I can at last propose some code to (re)building the index for Hibernate Search. The present API of Hibernate Search provides a nice and safe

[hibernate-dev] Re: Hibernate Search: massive batch indexing

2008-06-07 Thread Sanne Grinovero
the deletion of entities first. On Jun 6, 2008, at 18:51, Sanne Grinovero wrote: Hello list, I've finally finished some performance test about stuff I wanted to double-check before writing stupid ideas to this list, so I feel I can at last propose some code to (re)building the index for Hibernate

[hibernate-dev] Re: improving Search

2008-06-10 Thread Sanne Grinovero
Hello Emmanuel, as you asked how to use the SnapshotDeletionPolicy: when you create the IndexWriter do: IndexDeletionPolicy policy = new KeepOnlyLastCommitDeletionPolicy(); SnapshotDeletionPolicy snapshotter = new SnapshotDeletionPolicy(policy); IndexWriter writer = new IndexWriter(dir,

[hibernate-dev] Re: improving Search

2008-06-12 Thread Sanne Grinovero
Does it somehow involve not having cluster changes (ie intra VM policy rather than inter VM?) I don't really understand what you're asking; I hope previous example contains an answer; it just means you don't need to lock the index to make a hotcopy to anywhere. My question is does it

Re: [hibernate-dev] [Hibernate Search] Feedback on Document Field lazy loading

2008-06-15 Thread Sanne Grinovero
what is your goal? performance? from the code I guess you don't intend to support something like setProjection( FullTextQuery.DOCUMENT, lastname ); as you skip fieldnames processing when you hit DOCUMENT; I agree with you it would be a bit stupid, but someone could want to do that for some

Re: [hibernate-dev] [Hibernate Search] session.flushToIndexes()

2008-06-21 Thread Sanne Grinovero
looks like a very good idea, does this mean people don't need to do this (taken from docs): It is critical that batchSize in the previous example matches the batch_size value described previously. ? Should we remove the option and references from documentation? 2008/6/21 Emmanuel Bernard [EMAIL

Re: [hibernate-dev] HSEARCH-189 concurrency

2008-07-04 Thread Sanne Grinovero
if you can elaborate more on how you are facing the visibility issue then may be i can also spend time on it on figuring performant solution. Regards Pavitar Singh http://pitfalls.wordpress.com On Fri, Jul 4, 2008 at 5:13 AM, Sanne Grinovero [EMAIL PROTECTED] wrote: Hello all, I'm sorry

Re: [hibernate-dev] HSEARCH-189 concurrency

2008-07-04 Thread Sanne Grinovero
://blog.emmanuelbernard.com| http://twitter.com/emmanuelbernard Hibernate Search in Action (http://is.gd/Dl1) On Jul 4, 2008, at 04:33, Sanne Grinovero wrote: Hi Pavitar Singh, I thank you very much about your explanations but actually I opened the issue myself because I have read the same specs

Re: [hibernate-dev] HSEARCH-189 concurrency

2008-07-04 Thread Sanne Grinovero
http://in.relation.to/Bloggers/Emmanuel | http://blog.emmanuelbernard.com| http://twitter.com/emmanuelbernard Hibernate Search in Action (http://is.gd/Dl1) On Jul 4, 2008, at 18:36, Sanne Grinovero wrote: Thanks for your blog Pavitar; I would like to add some clarification about the piggyback

[hibernate-dev] Search initialization: remove WeakHashMap?

2008-07-04 Thread Sanne Grinovero
Hello, does the resolution of HSEARCH-209 imply we can get rid of the private static final ThreadLocalWeakHashMapConfiguration, SearchFactoryImpl contexts = ... in SearchFactoryImpl? I never fully understood the need of that, I thought because we could have several Search listeners registered,

Re: [hibernate-dev] Forcing an optimize call after a purgeAll

2008-07-14 Thread Sanne Grinovero
I agree with all of you, if the user wants it he can just call it using a single line of code. So I would not do that automatically. Sanne 2008/7/14 Hardy Ferentschik [EMAIL PROTECTED]: On Sun, 13 Jul 2008 21:46:05 +0200, John Griffin [EMAIL PROTECTED] wrote: I would not force it, but I

Re: [hibernate-dev] Abstraction from Hibernate Core

2008-07-17 Thread Sanne Grinovero
Hi, I'm using eclipse and checking my style manually, as I don't have the template and wouldn't trust myself in automatically reformatting my code with a self-made template. Who can provide it? Should I try making it myself? Also I could commit several missing propset svn:keywords Id and the

[hibernate-dev] Source code headers

2008-07-18 Thread Sanne Grinovero
Hi all, I've found a recommendation for a source code header at http://www.hibernate.org/438.html I'm not seeing this header on the code? What are the guidelines, should we add it to new classes? regards, Sanne ___ hibernate-dev mailing list

Re: [hibernate-dev] Hibernate Search: ReaderProvider.destroy()

2008-07-19 Thread Sanne Grinovero
Yes I agree, good catch. Additionally I could add some minor performance improvement using a background thread in SharingBufferReaderProvider, (to have the file-closing operations of unneeded segments run async) but didn't implement that as I was lacking a shutdown hook. But DirectoryProvider(s)

Re: [hibernate-dev] HSearch: Using sharding and avoiding query on multiple shards

2008-07-31 Thread Sanne Grinovero
Hello, the feature is awesome and I know of several real world cases were it would have been both useful and would have performed better. about the API, wouldn't it make more sense to have it look like a filter? regards, Sanne 2008/7/31 Emmanuel Bernard [EMAIL PROTECTED]: Today, in Hibernate

Re: [hibernate-dev] HSearch: Using sharding and avoiding query on multiple shards

2008-08-03 Thread Sanne Grinovero
2008/8/1 Emmanuel Bernard [EMAIL PROTECTED]: On Aug 1, 2008, at 13:42, Sanne Grinovero wrote: Hello Emmanuel, 2008/7/31 Emmanuel Bernard [EMAIL PROTECTED]: On Jul 31, 2008, at 09:22, Sanne Grinovero wrote: about the API, wouldn't it make more sense to have it look like a filter? can

Re: [hibernate-dev] Hibernate 3.3.0.GA released

2008-08-16 Thread Sanne Grinovero
congratulations and thanks for all the work! very nice improvements! regards, Sanne 2008/8/15 Steve Ebersole [EMAIL PROTECTED]: http://in.relation.to/Bloggers/HibernateCore330GoesGA - Steve Ebersole Project Lead http://hibernate.org [EMAIL PROTECTED] Principal Software Engineer JBoss,

Re: [hibernate-dev] H.Search: EventListenerRegister

2008-08-23 Thread Sanne Grinovero
org.slf4j.LoggerFactory; /** * Helper methods initializing Hibernate Search event listeners. * * @author Emmanuel Bernard * @author Hardy Ferentschik * @author Sanne Grinovero */ public class EventListenerRegister { private static final Logger log = LoggerFactory.getLogger

Re: [hibernate-dev] H.Search: EventListenerRegister

2008-08-25 Thread Sanne Grinovero
2008/8/25 Hardy Ferentschik [EMAIL PROTECTED]: On Sat, 23 Aug 2008 19:25:35 +0200, Sanne Grinovero [EMAIL PROTECTED] wrote: Hello Hardy, thanks for your attention, I'll attach my current version (absolutely untested) just to give the idea. If you look at the current trunk the last listener

Re: [hibernate-dev] H.Search: EventListenerRegister

2008-08-28 Thread Sanne Grinovero
looks good. -- Emmanuel Bernard http://in.relation.to/Bloggers/Emmanuel | http://blog.emmanuelbernard.com | http://twitter.com/emmanuelbernard Hibernate Search in Action (http://is.gd/Dl1) On Aug 25, 2008, at 13:48, Sanne Grinovero wrote: 2008/8/25 Hardy Ferentschik [EMAIL PROTECTED

Re: [hibernate-dev] @FullTextFilterDef cache

2008-09-05 Thread Sanne Grinovero
The API you propose is looking cleaner and much more self-explanatory; still you may help me a bit to understand it better: as I understood from the reference docs the filter implementation has to be reused for BitSet caching to work, so does this mean that if my Filter implementation is not

[hibernate-dev] Search: backend refactoring

2008-09-07 Thread Sanne Grinovero
The short question: may I add some methods to the implementations of LuceneWork? I'm refactoring the backends and it would help, but there is a warning there in the javadoc about not changing it freely. Sanne The same question, a bit more verbose: Hi, I've been

[hibernate-dev] Re: Search: backend refactoring

2008-09-13 Thread Sanne Grinovero
during some tests for the refactoring I was doing I've found HSEARCH-263 which is currently blocking me; could you give me some directions about how to solve it best? Sanne 2008/9/8 Sanne Grinovero [EMAIL PROTECTED]: 2008/9/8 Emmanuel Bernard [EMAIL PROTECTED]: On Sep 7, 2008, at 05:41

Re: [hibernate-dev] Mutable natural key caching?

2008-09-22 Thread Sanne Grinovero
I really dislike the idea of having a mutable key, am I too extreme? isn't this going to bring you loads of problems? IMHO if it's mutable it is not a key, but of course I don't see the big picture: I'm just curious about the design decision. kind regards, Sanne 2008/9/16 Elias Ross [EMAIL

Re: [hibernate-dev] Envers in Hibernate

2008-10-17 Thread Sanne Grinovero
I'm just a contributor for Search, but if you may be interested in my opinion: we released software yesterday in production which uses Envers 1.0GA and it's really being useful. And I learned in some minutes how to use it :-) So if I could vote I would definitely make it officially part of

Re: [hibernate-dev] Envers in Hibernate

2008-10-25 Thread Sanne Grinovero
@KeepHistory sounds well, it's straightforward to what it's going to do. I was thinking about @TrackChanges but you aren't really building diffs, so history: @TrackHistory or @KeepHistory ? still including some flavour of the version should be better IMHO, as every programmer has some knowleger

Re: [hibernate-dev] use_compound_file

2008-11-12 Thread Sanne Grinovero
what to you mean by structural setting? I think we should always apply the same values for both transaction and batch (shouldn't be possible to have them configured differently). we had a chat about this, and as far as I remember the idea was to log a warning for the moment. If you explain me

Re: [hibernate-dev] use_compound_file

2008-11-13 Thread Sanne Grinovero
2 answers inline: 2008/11/13 Emmanuel Bernard [EMAIL PROTECTED]: Plus it seems the default value is compound = true, just like in Lucene. This is not what we are saying in the doc. Am I completely off-base? No, you are correct. 2008/11/12 Emmanuel Bernard [EMAIL PROTECTED]: So where would

Re: [hibernate-dev] RE: Hibernate Search Road Map

2008-11-16 Thread Sanne Grinovero
I'm also curious about the differences; John, do you have some experiments ready? I still didn't understand what your are planning to build, but it sounds interesting. 2008/10/21 Emmanuel Bernard [EMAIL PROTECTED]: On Oct 12, 2008, at 12:56, John Griffin wrote: HSEARCH-269 - Dictionary

[hibernate-dev] [Search] making updates to the indexes concurrently

2008-11-20 Thread Sanne Grinovero
Hello, because of HSEARCH-268( optimize indexes in parallel ) but also for other purposes, I am in need to define a new ThreadPool in Hibernate Search's Lucene backend. The final effect will actually be that all changes to indexes are going to be performed in parallel (on different indexes). I

Re: [hibernate-dev] RE: scrollableresult OOM problem

2008-11-24 Thread Sanne Grinovero
the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of hibernate-dev digest... Today's Topics: 1. interesting issues in the forum (Sanne Grinovero

[hibernate-dev] Search: change in BackendQueueProcessorFactory public interface.

2008-11-25 Thread Sanne Grinovero
Hi, there's another urgent reason to change BackendQueueProcessorFactory: To finish HSEARCH-268 I only need to shutdown the executors created during initialize(); there is no stop() or shutdown() method; I am not having a way to cleanup similar and opposite to initialize() my patch is working

Re: [hibernate-dev] Re: interesting issues in the forum

2008-12-01 Thread Sanne Grinovero
Can't you just rely on the cleanup() in FullTextIndexEventListener ? That would be a good place to use ThreadLocal.remove(); When using the autoregistration of the listeners (see EventListenerRegister), the ThreadLocal isn't used actually (As far as I understand): so as 3.1 does target core 3.3,

[hibernate-dev] Search: dropping support for changes through IndexReader

2008-12-15 Thread Sanne Grinovero
Hi, some more steps towards mass indexing: do you agree I'll drop the capability to use an IndexReader to make changes to the index? This implies I'll simplify the backend by removing all methods working on an IndexReader (they are not needed anymore), and is required to reuse the IndexWriter as

[hibernate-dev] Re: About HSEARCH-310

2009-01-14 Thread Sanne Grinovero
, at 18:35, Sanne Grinovero wrote: thank you, you helped me a lot; still I would like to propose an evolution to cover all use cases correctly. I've already implemented and tested this, in roughly three steps: 1) when moving the cursor outside of the loaded window boundaries I extract the new

Re: [hibernate-dev] [Bean Validation] Type-safe Validator and resolution algorithm

2009-01-25 Thread Sanne Grinovero
Hi, I would really love the type-safe interface and removing the classcast handling from implementations, totally agree with that proposal. I am not liking the flexibility to have several different implementations associated to the same annotation; IMHO using a 1-1 should be more clear to the

Re: [hibernate-dev] [Bean Validation] XML Mapping schema

2009-01-27 Thread Sanne Grinovero
BTW, what does stop-inhertiance/ do? --Hardy Hope the spec is not going out with the typo in inheritance. We discussed about it here : http://forum.hibernate.org/viewtopic.php?t=985463 It is meant to disable inherited contraints, for when you may want to define some different constraint in

[hibernate-dev] Hibernate Search: configure the LockingFactory

2009-02-16 Thread Sanne Grinovero
Hi all, to solve HSEARCH-284 (Lucene locks left around in application restart/crash) I am investigating the differences in all Lucene's LockFactory implementations; some of them are interesting and I would like to add a configuration option to replace the default one in Hibernate Search. 1)

Re: [hibernate-dev] [Bean Validation] Constraints plural

2009-02-20 Thread Sanne Grinovero
2009/2/19 Hardy Ferentschik hibern...@ferentschik.de: On Wed, 18 Feb 2009 16:35:30 +0100, Emmanuel Bernard emman...@hibernate.org wrote: @Max.Plural( { @Max(30, groups=JoeSixPack.class), @Max(100, groups=PowerUser.class) } ) +1 for this approach from me as well. Instead of Plural we

Re: [hibernate-dev] Hibernate Search road map

2009-02-25 Thread Sanne Grinovero
Hi, I am happy with the new features in the roadmap, but still a bit worried about some open issues: HSEARCH-314 is quite annoying and I've run out of ideas to propose; any direction from someone? It would be nice if the solution could be reused also by other listeners (a topic for JPA2 spec?)

Re: [hibernate-dev] [Bean Validation] @Max / @Min as double instead of long

2009-03-05 Thread Sanne Grinovero
Using the String value could be a good idea also for double, not very clean but safe. 2009/3/5 Emmanuel Bernard emman...@hibernate.org: I mean we could but we would need to rely on the string representation @interface Max {  String value() } @Max(12.5) double someNumber; On  Mar 4,

Re: [hibernate-dev] Hibernate Search road map

2009-03-06 Thread Sanne Grinovero
Thanks; I guess you are referring to HSEARCH-178 instead, not the listener registration ;-) I'm linking the issue to HHH-2763 too, as it seems related and Steve is having interesting comments about this there. 2009/3/6 Emmanuel Bernard emman...@hibernate.org: On  Feb 25, 2009, at 06:19, Sanne

[hibernate-dev] HSearch : new feature blackhole backend

2009-03-07 Thread Sanne Grinovero
Hi, I've implemented a really trivial new backend (can be configured to replace the jms or lucene backends) called blackhole as the same named MySQL engine (http://dev.mysql.com/doc/refman/5.0/en/blackhole-storage-engine.html). It doesn't to anything :-P , and that's why it's useful! When

Re: [hibernate-dev] HHH-3225 is hitting Hibernate Search

2009-03-13 Thread Sanne Grinovero
Hi, about this issue (HSEARCH-178) I've implemented a patch following your directions and your idea is working very well, but I'm having some trouble about the configuration of listeners. An additional flush listener is needed; I've patched the autoregistration but people not using annotations

Re: [hibernate-dev] Hibernate Search next version will target the latest Hibernate Core

2009-03-22 Thread Sanne Grinovero
It shouldn't be hard, I was missing only some JPA tests before you reminded me I have to manage also auto-flush; so now I have to re-think it a bit (the context has to be shared in the two listeners) but I don't foresee a complex patch. Regarding a 3.1.1 release more work has been done, like the

Re: [hibernate-dev] problem with pdf generated by maven-jdocbook-plugin and hibernate-jdocbook-style?

2009-03-26 Thread Sanne Grinovero
I don't know how bad it is after the maven switch, but there were some layout issues before too, especially with long lines. 2009/3/26 Hardy Ferentschik hibern...@ferentschik.de: DOH! ;-) I will create an issue there then. On Thu, 26 Mar 2009 14:33:32 +0100, Steve Ebersole

Re: [hibernate-dev] Fwd: Hibernate Search 3.1.0GA Bugs after HSEARCH-160

2009-04-06 Thread Sanne Grinovero
should this be fixed for 3.1.1? Is there a reason to not accept @Indexed on an abstract class? FYI the forum reference : http://forum.hibernate.org/viewtopic.php?t=996141 Sanne 2009/4/6 Emmanuel Bernard emman...@hibernate.org: Begin forwarded message: From: Zhendong Chen che...@pds.de

[hibernate-dev] Re: HSEARCH-178

2009-04-14 Thread Sanne Grinovero
I've 2 inline answers: 2009/4/14 Emmanuel Bernard emman...@hibernate.org: Read inline On  Apr 13, 2009, at 17:22, Sanne Grinovero wrote: After our chat about the topic I thought that I only needed some minor changes, was quite wrong. I moved the flush listener to the usual

[hibernate-dev] Re: HSEARCH-178

2009-04-14 Thread Sanne Grinovero
informed. 2009/4/14 Emmanuel Bernard emman...@hibernate.org: On  Apr 14, 2009, at 13:03, Sanne Grinovero wrote: I've 2 inline answers: 2009/4/14 Emmanuel Bernard emman...@hibernate.org: Read inline On  Apr 13, 2009, at 17:22, Sanne Grinovero wrote: After our chat about the topic I

Re: [hibernate-dev] want to join hibernate development community

2009-04-14 Thread Sanne Grinovero
JavaReflectionManagerTest is importing import com.sun.org.apache.xpath.internal.operations.Number; which is not legal in eclipse, as it's not in the standard JavaSE. It's actually quite bad, because in Ganymede I'm not allowed to disable this behaviour, I had to comment out the code to be able to

[hibernate-dev] Search: Dynamic Document boosting

2009-04-30 Thread Sanne Grinovero
Hello, I'm currently needing to be able to define a per-entity INSTANCE different Boost, not just the type. Currently I could obtain this functionality by using a custom classbridge, but the entity is quite complex and building my own classbridge I will have to map all fields myself loosing the

Re: [hibernate-dev] Search: Dynamic Document boosting

2009-05-02 Thread Sanne Grinovero
boost for more recent documents  - I change priority in my categories depending on the marketing mood Said otherwise, can have a true dynamic boost defined at query time, not at indexing time. I think Solr has something named FunctionQuery that can do that. On  Apr 29, 2009, at 16:47, Sanne

Re: [hibernate-dev] Search: Dynamic Document boosting

2009-05-02 Thread Sanne Grinovero
2009/4/30 Emmanuel Bernard emman...@hibernate.org: On  Apr 30, 2009, at 13:01, Sanne Grinovero wrote: Basically I need a function to convert a user-proposed term to a series of proposals of similar terms but giving a higher rank to the terms I'd prefer him to choose as they are the correct

Re: [hibernate-dev] Search: Dynamic Document boosting

2009-05-02 Thread Sanne Grinovero
name : getAnanyzerDefinitionName instead of getAnalyzerDefinitionName and the bug is repeated in all documentation. fixing for 3.2? 2009/4/30 Emmanuel Bernard emman...@hibernate.org: On  Apr 30, 2009, at 14:11, Sanne Grinovero wrote: 2009/4/30 Emmanuel Bernard emman...@hibernate.org: On  Apr

Re: [hibernate-dev] Hibernate Search and massive indexing

2009-05-07 Thread Sanne Grinovero
I'd like to stress that the second mode (adaptative) is not contrained into the BackendQueueProcessorFactory interface as it is not created by the usual BatchedQueueingProcessor but by a new kind of Worker. So we can apply some more pipelining optimizations. About 5) the API is not going to be

Re: [hibernate-dev] Search: Dynamic Document boosting

2009-05-08 Thread Sanne Grinovero
:( If you want you can create an issue for this and assign it to me. --Hardy On Thu, 30 Apr 2009 19:36:01 +0200, Sanne Grinovero sanne.grinov...@gmail.com wrote: BTW I've just realized the Discriminator interface is having a nasty typo in the public api method name : getAnanyzerDefinitionName

[hibernate-dev] Re: [jbosscache-dev] JBoss Cache Lucene Directory

2009-05-25 Thread Sanne Grinovero
Hello, I'm forwarding this email to Emmanuel and Hibernate Search dev, as I believe we should join the discussion. Could we keep both dev-lists (jbosscache-...@lists.jboss.org, hibernate-dev@lists.jboss.org ) on CC ? Sanne 2009/4/29 Manik Surtani ma...@jboss.org: On 27 Apr 2009, at 05:18,

[hibernate-dev] Re: [seam-dev] 2.1.2 release

2009-05-28 Thread Sanne Grinovero
Hi, about library versions I'm wondering why doesn't Seam bundle the latest hibernate 3.3.x ? I guess it was a good thing to keep the same version as JBoss AS 4.2, but since 5 is out these reason could be reconsidered. Hibernate Search 3.1.0 is available since months and has many improvements

[hibernate-dev] Re: [seam-dev] 2.1.2 release

2009-05-29 Thread Sanne Grinovero
to a JIRA? On 28 May 2009, at 22:38, Sanne Grinovero wrote: Hi, about library versions I'm wondering why doesn't Seam bundle the latest hibernate 3.3.x ? I guess it was a good thing to keep the same version as JBoss AS 4.2, but since 5 is out these reason could be reconsidered. Hibernate

Re: [hibernate-dev] Hiberate Search 3.1.1 GA

2009-05-29 Thread Sanne Grinovero
thanks for the release and congratulations :) 2009/5/29 Emmanuel Bernard emman...@hibernate.org: Cool :) On  May 29, 2009, at 02:37, Hardy Ferentschik wrote: Hi all, Hibernate Search 3.1.1 just got released - http://in.relation.to/11607.lace Check it out! --Hardy

Re: [hibernate-dev] HSearch: Using sharding and avoiding query on multiple shards

2009-06-03 Thread Sanne Grinovero
I am having a similar need in these days; this should be a very useful feature, but I'd like more something I could use with the existing API like enableFullTextFilter( MyShardsSelectionStrategy ).setParameter( ... ) a practical example: enableFullTextFilter( LanguageFilter ).setParameter( IT-it

[hibernate-dev] recommend hibernate tools version for bundling with Seam 2.2

2009-06-07 Thread Sanne Grinovero
Hi Max, I'm goig to update the version of hibernate libs included in the Seam distribution to line up with JBoss 5.1.0.GA bundled versions; Which version of Hibernate Tools do you recommend for this? Looking on www.hibernate.org/255.html latest version appears to be 3.2.4.CR2, (btw homepage

[hibernate-dev] Re: recommend hibernate tools version for bundling with Seam 2.2

2009-06-07 Thread Sanne Grinovero
them fixed. Use the latest one from jboss.org/tools download. Hibernate tools output will though create output that works fine with 3.3. /max Sanne Grinovero wrote: Hi Max, I'm goig to update the version of hibernate libs included in the Seam distribution to line up with JBoss 5.1.0.GA

Re: [hibernate-dev] HSearch: Using sharding and avoiding query on multiple shards

2009-06-09 Thread Sanne Grinovero
agree on this change first, I think I can implement those on top of this. Please see attached svn .patch (diff) file. I have tested the patch on 3.1.1 and 3.2.0. Any feedback is welcome.    -Chase On Wed, Jun 3, 2009 at 1:27 PM, Sanne Grinovero sanne.grinov...@gmail.com wrote: I am having

Re: [hibernate-dev] HSearch: Using sharding and avoiding query on multiple shards

2009-06-10 Thread Sanne Grinovero
you're right we need some way to know which filters don't need to be applied on the lowlevel IndexSearcher, but adding a flag breaks backwards compatibility, and using a type will get us to use ugly instanceof; they're not bad solutions but what do you think of using a new option of the

Re: [hibernate-dev] Re: Pushing indexes through JGroups

2009-06-14 Thread Sanne Grinovero
that in the weekend. Lukasz 2009/6/10 Sanne Grinovero sanne.grinov...@gmail.com Hi Lukasz, I've been looking into your code; I have some comments but please forgive me as I don't have any real experience about JGroups, so I'll only tell you how much I see this code fit into Hibernate Search

Re: [hibernate-dev] Batch indexing API

2009-07-05 Thread Sanne Grinovero
and an execute method is not making it clear which one I should call? Sanne WTY? On  Jun 30, 2009, at 16:18, Sanne Grinovero wrote: Hello, I need some comments about the batch indexing API, so that I can stabilize it and write the documentation; I might even blog about it :-) Here

Re: [hibernate-dev] Batch indexing API

2009-07-07 Thread Sanne Grinovero
inline: 2009/7/5 Emmanuel Bernard emman...@hibernate.org: cacheMode //when would you need something different than Ignore? Also, I'd rather get CacheMode be a Search class to keep the independance wrt Hibernate Core Depending on the model it might be much faster using cache when the

[hibernate-dev] Election of Hibernate Search master indexer on top of Infinispan

2009-08-06 Thread Sanne Grinovero
Hello, from what I recall of latest updates about the creation of an Infinispan-backed Hibernate Search DirectoryProvider to store Lucene's indexes, you're going to focus on having one Master indexer which will take care of all the writing to the index. So Infinispan will take care of safely

Re: [hibernate-dev] GSoC 2009 project at Hibernate Search status

2009-08-13 Thread Sanne Grinovero
I'll do this today; Łukasz, thanks for the status update! Sanne 2009/8/12 Emmanuel Bernard emman...@hibernate.org: If someone in the search team could take Lukasz's patch from last month (in the mailing list) and apply it with a quick final review that would be great. I wanted to do it but I

Re: [hibernate-dev] [infinispan-dev] Infinispan tx, config and multithreading

2009-08-13 Thread Sanne Grinovero
Hi Łukasz, what is your usage of these threads? did you consider using one transaction per thread? Sanne 2009/8/13 Łukasz Moreń lukasz.mo...@gmail.com: Newly created threads were not associated with any transaction, so I suppose it was a problem. Sharing transaction between threads seems to

Re: [hibernate-dev] [infinispan-dev] Infinispan tx, config and multithreading

2009-08-13 Thread Sanne Grinovero
for the Infinispan directory. On 13 août 09, at 17:34, Sanne Grinovero wrote: Hi Łukasz, what is your usage of these threads? did you consider using one transaction per thread? Sanne 2009/8/13 Łukasz Moreń lukasz.mo...@gmail.com: Newly created threads were not associated with any transaction

Re: [hibernate-dev] [infinispan-dev] Infinispan tx, config and multithreading

2009-08-13 Thread Sanne Grinovero
: as FSDirectory is playing with file descriptors and flushes, you do the same with Infinispan transactions. 2009/8/14 Łukasz Moreń lukasz.mo...@gmail.com: Yes, right, MergeSchedulers. 2009/8/14 Sanne Grinovero sanne.grinov...@gmail.com what are these other threads? Are you speaking about

Re: [hibernate-dev] Configuration for Infinispan cache working as directory provider in HSearch

2009-08-14 Thread Sanne Grinovero
I'm still of the idea that one day (read: low priority) it would be nice to have the possibility do configure DirectoryProviders and backends indipendet per index. I don't want to put pressure on that, but it might be useful to leave that option open for the future. 2009/8/14 Emmanuel Bernard

Re: [hibernate-dev] [infinispan-dev] Infinispan tx, config and multithreading

2009-08-14 Thread Sanne Grinovero
/14 Sanne Grinovero sanne.grinov...@gmail.com I am not an expert on this part of Lucene, but it looks like to me that the IndexWriter is the driver/coordinator, and it's decisions are affected by a pluggable MergeScheduler; they do stuff on the internal buffers of the IndexWriter (dequeue

Re: [hibernate-dev] [infinispan-dev] [HSearch] DSL for Lucene queries (was: Re: Query module new API and configurations)

2009-08-28 Thread Sanne Grinovero
I've nothing against a separate maven module, still Hibernate Search already has lots of goodies to work with Lucene which are not necessarily linked to Hibernate (e.g. Analyzer definition helpers, pojo mapping through annotations, enhanced filtering, IndexReader pooling, nice Infinispan

Re: [hibernate-dev] [infinispan-dev] [HSearch] DSL for Lucene queries (was: Re: Query module new API and configurations)

2009-08-28 Thread Sanne Grinovero
do you think of the PAI proposal itself? Like it? See improvements? On 28 août 09, at 10:37, Sanne Grinovero wrote: I've nothing against a separate maven module, still Hibernate Search already has lots of goodies to work with Lucene which are not necessarily linked to Hibernate (e.g. Analyzer

[hibernate-dev] Fwd: [Hibernate-JIRA] Updated: (HHH-1803) Allow fetching with criteria when scrolling

2009-08-28 Thread Sanne Grinovero
On Search's forums it appears that many people get hit by this one, I agree it looks like important so I promised to scale the question up. Kai Hoerder attached a patch recently, could some expert in Core take a look into? It appears to have a serious impact on the rebuild indexes time for

Re: [hibernate-dev] [infinispan-dev] Benchmarking 2nd level cache providers?

2009-09-02 Thread Sanne Grinovero
Totally agree with this, it would be useful also to benchmark other parts of Hibernate (not just the cache) and as general regression test. Also with Hibernate Search I have some private tests which are very time consuming (an hour or so) which I can't commit on trunk as unit tests; I'd like to

Re: [hibernate-dev] [infinispan-dev] [HSearch] DSL for Lucene queries (was: Re: Query module new API and configurations)

2009-09-03 Thread Sanne Grinovero
answers and ideas inline: 2009/9/3 Emmanuel Bernard emman...@hibernate.org: On 28 août 09, at 07:54, Sanne Grinovero wrote: Sure I like it! I'm in the swamp of old mails, so I give you my first impression only: Even if it's fluent it's not (yet) intuitive to me which methods I should call

Re: [hibernate-dev] [infinispan-dev] Hibernate 3.5.0.Beta-1 released

2009-09-09 Thread Sanne Grinovero
I'd like to see Infinispan as default cache provider, AFAIK ehcache is the default now. IMHO the default is to some extend a recommendation to the users, at least that's how I perceived it when I was new to hibernate: if they have chosen it, it must be good. It would need however to be able to

Re: [hibernate-dev] [infinispan-dev] Hibernate 3.5.0.Beta-1 released

2009-09-09 Thread Sanne Grinovero
Infinispan the default? On Wed, 2009-09-09 at 11:42 -0500, Sanne Grinovero wrote: I'd like to see Infinispan as default cache provider, AFAIK ehcache is the default now. IMHO the default is to some extend a recommendation to the users, at least that's how I perceived it when I was new

Re: [hibernate-dev] [infinispan-dev] Feedback on Infinispan patch

2009-09-13 Thread Sanne Grinovero
2009/9/12 Michael Neale michael.ne...@gmail.com: That does sounds pretty cool. Would be nice if the lucene indexes could scale along with how people will want to use infinispan. Probably worth playing with. Sure, this is the goal of Łukasz's work; We know compass has some good Directories, but

Re: [hibernate-dev] [infinispan-dev] Distributed queries

2009-09-17 Thread Sanne Grinovero
of the week about how this all works. However if you're not then I assume you're talking about using Lucene to index into Infinispan? On Wed, Sep 16, 2009 at 6:05 PM, Sanne Grinovero sanne.grinov...@gmail.com wrote: 2009/9/16 Michael Neale michael.ne...@gmail.com: regarding indexing

[hibernate-dev] Hibernate Search, depending on Infinispan?

2009-10-01 Thread Sanne Grinovero
I'm splitting Łukasz's work in an Infinispan module and Hibernate Search code. Infinispan is modular, so this is going to have it's own module. What about the code for Hibernate Search? Adding an optional dependency do this Infinispan module? (Basically the DirectoryProvider only has to live in

Re: [hibernate-dev] Build Failure

2009-10-03 Thread Sanne Grinovero
Hi Quintin, Java 6 doesn't support making the moon blue, you'll have to use Java 5. Then you'll probably need to set the disableDistribution environment variable to true to skip documentation building, which requires you to have po2xml installed: mvn clean test -DdisableDistribution=true

Re: [hibernate-dev] Copyright notice

2009-10-06 Thread Sanne Grinovero
Search is missing them, AFAIK on all files; Eclipse has a plugin to add/edit the copyright notice on all sources (I've always avoided it to avoid conflicts) but if you think it's a good time to add them all I can do that. (Nobody has pending changes right?) Sanne 2009/10/6 Emmanuel Bernard

Re: [hibernate-dev] Copyright notice

2009-10-06 Thread Sanne Grinovero
formats but making it hard to spot changes (whole files replaced) I'd vote for B to make it straight before it gets more complex. WDYT? Sanne 2009/10/6 Emmanuel Bernard emman...@hibernate.org: Yes that's a good time. On 6 oct. 09, at 10:19, Sanne Grinovero wrote: Search is missing them

Re: [hibernate-dev] Copyright notice

2009-10-06 Thread Sanne Grinovero
Actually I did have the problem before, it happened two or three times before that I had to manually-edit the built patch for some file, just I didn't understand the reason for it (was thinking of some svn or ide bug) Hardy, AFAIK having eol-style=native shouldn't be a problem as long as you work

Re: [hibernate-dev] Welcome Dima Geraskov as Hibernate Tools committer

2009-10-09 Thread Sanne Grinovero
Hi Dima, Welcome! Regards, Sanne On 10 9, 2009 4:42 PM, Max Rydahl Andersen max.ander...@redhat.com wrote: Hi, Welcome Dima as a committer to hibernate svn to work on Hibernate Tools. His username is dgeraskov in case you bump into him in the svn logs ;) /max

  1   2   3   4   5   6   7   8   9   10   >