[hibernate-dev] Lucene Collector for Hibernate Search

2010-11-27 Thread Amin Mohammed-Coleman
Hi All Apologies up front if this isn't the right place for this. Are there any plans to allow Collectors to be used within Hibernate Search? I had an interesting requirement which meant I couldn't use pagination and as result I had to use a custom collector using IndexSearcher. My use case

Re: [hibernate-dev] How can I configure sharding for customer data

2010-11-19 Thread Amin Mohammed-Coleman
Have you checked the online documentation? http://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/#search-configuration-directory-sharding plus you can check Hibernate Search in Action. Amin On 19 Nov 2010, at 05:42, Suganya wrote: > Hi, > > In my application, I have config

Re: [hibernate-dev] when is the h-search 3.2 final release date?

2010-04-28 Thread Amin Mohammed-Coleman
Hi I've commented on the forum about this but I strongly think that it is a Spring AOP issue that the user has defined. I've made a recommendation and waiting for feedback. Amin Sent from my iPhone On 28 Apr 2010, at 07:59, Emmanuel Bernard wrote: > We have one potential perf issue with

Re: [hibernate-dev] missing content for Hibernate Search docs

2010-04-12 Thread Amin Mohammed-Coleman
Hi Please ignore the below. For some reason it didn't appear on my iphone. I can see it fine on my mac. Sorry about that Amin On 12 Apr 2010, at 21:38, Amin Mohammed-Coleman wrote: > Hi > > I just noticed that section 4.4.3 is missing the beginning of the parag

[hibernate-dev] missing content for Hibernate Search docs

2010-04-12 Thread Amin Mohammed-Coleman
Hi I just noticed that section 4.4.3 is missing the beginning of the paragraph in the documentation. Thanks Amin Sent from my iPhone ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] release plans for Search?

2010-04-06 Thread Amin Mohammed-Coleman
Hi I'll create a patch for the documentation to minor this. The current documentation patch talks about the rethrow. Cheers Amin Sent from my iPhone On 6 Apr 2010, at 09:31, Emmanuel Bernard wrote: > Let's remove it for now. > Re-throw should never be the default even when we have that f

Re: [hibernate-dev] release plans for Search?

2010-04-03 Thread Amin Mohammed-Coleman
sure it would be possible I wrote it > myself to find out. > The test is almost complete but some lines are commented out, as exact > implementation depends on how you're going to implement the changes > needed in PerDPQueueProcessor. > > Cheers, > Sanne > > 2010

Re: [hibernate-dev] release plans for Search?

2010-04-02 Thread Amin Mohammed-Coleman
Hi I attached a patch for HSearch 421 yesterday which Sanne is reviewing (there 3 changes that I believe he wanted to make). If Sanne is happy with the patch I can work on the documentation side of things tomorrow and hopefully get something on Sunday/Monday. Thanks Amin On 2 Apr 2010, a

Re: [hibernate-dev] Hibernate Search 421

2010-03-25 Thread Amin Mohammed-Coleman
O should it be Throwable or something more specific like > SearchException? > Throwable getThrownException(); > } > > intarface FailingOperation { > Object getId(); //is it Serializable? > Class getEntityClass(); > Operation getOperation(); > } > > WDYT? >

Re: [hibernate-dev] Hibernate Search 421

2010-03-23 Thread Amin Mohammed-Coleman
ult(); > //TODO should it be Throwable or something more specific like > SearchException? > Throwable getThrownException(); > } > > intarface FailingOperation { > Object getId(); //is it Serializable? > Class getEntityClass(); > Operation getOperation(); > } > > WDYT

Re: [hibernate-dev] Hibernate Search 421

2010-03-19 Thread Amin Mohammed-Coleman
Hi Please find updated patch with the removal of the enum singleton. Thanks Amin On 17 Mar 2010, at 12:58, Sanne Grinovero wrote: > Hi Amin, > thanks for the update, see some thoughts: > > 2010/3/16 Amin Mohammed-Coleman : >> Hi folks, >> >> I've remov

Re: [hibernate-dev] Hibernate Search 421

2010-03-16 Thread Amin Mohammed-Coleman
e any currently approach that does something similar? Thanks for your patience with this one. Cheers Amin On 9 Mar 2010, at 13:00, Amin Mohammed-Coleman wrote: > Hi Sanne > > You are right and Im not happy with the enum class. I wanted to have a single > configuration that w

Re: [hibernate-dev] Hibernate Search 421

2010-03-09 Thread Amin Mohammed-Coleman
Hi Sanne You are right and Im not happy with the enum class. I wanted to have a single configuration that was available on the creation of the search factory and re use when required. I'll take a look at changing that with a better solution. Cheers Amin Sent from my iPhone On 9 Mar 20

Re: [hibernate-dev] missing reference documentation for Hibernate Search beta

2010-03-05 Thread Amin Mohammed-Coleman
Hi If I may throw in my 2 cents...The approach that you mentioned Emmanuel is ok (as someone who uses the documentation). I understand that google won't know the difference but at the end of the day it is down to the user to verify which version of Hibernate Search they are using and use the

[hibernate-dev] Search build failure

2010-02-06 Thread Amin Mohammed-Coleman
u just need to update? This change is just two days old. > > Sanne > > 2010/2/6 Amin Mohammed-Coleman : >> Thanks I'll give that a go! >> >> Cheers >> >> Amin >> >> >> On 6 Feb 2010, at 07:55, Strong Liu wrote

Re: [hibernate-dev] Problems building Core

2010-02-06 Thread Amin Mohammed-Coleman
ong Liu > > > > On Feb 6, 2010, at 3:16 PM, Amin Mohammed-Coleman wrote: > >> Hi All >> >> I'm trying to build core and followed the steps mentioned and I'm getting >> the following exception: >> >> Failure executing javac, but co

Re: [hibernate-dev] Problems building Core

2010-02-05 Thread Amin Mohammed-Coleman
Hi All I'm trying to build core and followed the steps mentioned and I'm getting the following exception: Failure executing javac, but could not parse the error: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap space a

Re: [hibernate-dev] Hibernate Search 421 [Exceptions happening in backend are unnoticed]

2010-01-09 Thread Amin Mohammed-Coleman
; > we could have a setUncaughtExceptionHandler( userImplementation ) in > org.hibernate.search.batchindexing.Executors:85. > If you change it there, the same handler would be used to manage > errors in the batch indexer, so you solve both problems at once. > Our "log the error" i

[hibernate-dev] Hibernate Search 421 [Exceptions happening in backend are unnoticed]

2010-01-09 Thread Amin Mohammed-Coleman
Hi All Emmanuel asked me to look at this issue (HSearch 421) where exceptions happening in backend process which are going unnoticed. I was wondering if I could get some advice/thoughts on how to tackle the problem.The issue mentioned providing the user the option to decide how to handle exce

Re: [hibernate-dev] Interface for mapping classes : Programmatic API

2009-12-14 Thread Amin Mohammed-Coleman
kes sense in both cases, sorry I'm looking into > it after much time. > > Cheers, > Sanne > > 2009/12/14 Amin Mohammed-Coleman : >> Hi >> >> It seems as though my email may have been a bit too vague. So I'll >> try to >> explain more or provi

Re: [hibernate-dev] Interface for mapping classes : Programmatic API

2009-12-14 Thread Amin Mohammed-Coleman
r that can be used. Hope this provides some more info and apologies for not making it more clear! Cheers Amin On Thu, Dec 10, 2009 at 8:12 PM, Amin Mohammed-Coleman wrote: > Hi > > I was wondering whether to get some thoughts about the following: > > At present none of the mapp

[hibernate-dev] Interface for mapping classes : Programmatic API

2009-12-10 Thread Amin Mohammed-Coleman
Hi I was wondering whether to get some thoughts about the following: At present none of the mapping classes implement any interface or extend any abstract classes. So I was thinking of introducing some form of interface for property level mapping so that one remembers (mostly me :)) to add all t

Re: [hibernate-dev] SearchMapping and its dependency on the analyzer optional package

2009-12-08 Thread Amin Mohammed-Coleman
Hi Guys I can take a look at trying to implement something that covers option 3. Also saearchmapping builder uses the getProgrammatic method from searchconfiguration so it can't be removed unless the use in searchmapping builder is removed. Cheers Amin Sent from my iPhone On 8 Dec 2009, a

Re: [hibernate-dev] HSEARCH-429

2009-12-04 Thread Amin Mohammed-Coleman
; (configuration). The code must account for that. >> I think the code should not be in SearchConfigurationFromHibernateCore >> as it is equally useful for non Hibernate Core usages. It but be next >> to the core of Hibernate Search's initialization. >> >

Re: [hibernate-dev] HSEARCH-429

2009-12-04 Thread Amin Mohammed-Coleman
Cheers > Amin > > > > > On Thu, Dec 3, 2009 at 9:26 AM, Emmanuel Bernard > wrote: > >> Sounds good. >> If you go the interface route then fine >> If you go the annotation route, use the existing @Factory annotation we >> have. You can also check

Re: [hibernate-dev] Programmatic Mapping patch

2009-11-26 Thread Amin Mohammed-Coleman
t;> CalendarBridge and a DateBridge. >> >> Cheers, >> Sanne >> >> 2009/11/26 Emmanuel Bernard : >> >>> Hey, >>> Let's release Beta1 as it is except for 5 and 6 and take time to try >>> the API before refining it. >>&g

Re: [hibernate-dev] Programmatic Mapping patch

2009-11-25 Thread Amin Mohammed-Coleman
Hey, > Let's release Beta1 as it is except for 5 and 6 and take time to try the > API before refining it. > > On 25 nov. 09, at 17:29, Amin Mohammed-Coleman wrote: > > Hi All, > > Would it be possible get feedback with regards to points 2, 3 and 4. I > can create pat

Re: [hibernate-dev] Programmatic Mapping patch

2009-11-25 Thread Amin Mohammed-Coleman
s wrong here: we have a > CalendarBridge and a DateBridge. > > Cheers, > Sanne > > 2009/11/26 Emmanuel Bernard : > > Hey, > > Let's release Beta1 as it is except for 5 and 6 and take time to try > > the API before refining it. > > > > On 25 nov. 09,

Re: [hibernate-dev] Programmatic Mapping patch

2009-11-25 Thread Amin Mohammed-Coleman
Hi All, Would it be possible get feedback with regards to points 2, 3 and 4. I can create patch to address those issues. Cheers Amin On Fri, Nov 20, 2009 at 2:20 PM, Emmanuel Bernard wrote: > Hi Amin, > I've committed your patch, thanks! > There is still some work and questions remaining but

Re: [hibernate-dev] Programmatic Mapping patch

2009-11-20 Thread Amin Mohammed-Coleman
Hi Emmanuel, Thanks. I'm working on the docs at the moment. I've added some of my comments. On Fri, Nov 20, 2009 at 2:21 PM, Emmanuel Bernard wrote: > > On 20 nov. 09, at 15:20, Emmanuel Bernard wrote: > > Hi Amin, > I've committed your patch, thanks! > There is still some work and questions r

[hibernate-dev] Fwd: HSearch 320

2009-11-14 Thread Amin Mohammed-Coleman
forgot to cc hibernate-dev. sorry. -- Forwarded message -- From: Amin Mohammed-Coleman Date: Sat, Nov 14, 2009 at 10:18 PM Subject: Re: [hibernate-dev] HSearch 320 To: Sanne Grinovero Hi No worries. I've completed a patch which for the programmatic api which cover

[hibernate-dev] HSearch 320

2009-11-14 Thread Amin Mohammed-Coleman
Hi All I was going through the hibernate search jira list (as you do on a saturday afternoon) and came across this: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-320 I was wondering if anyone would like me too look at this and see if I can reproduce this maybe verify it's a s

Re: [hibernate-dev] Some minor improvements to Hibernate Search

2009-10-23 Thread Amin Mohammed-Coleman
x27;m hoping for some guidance from you guys. As I mentioned before Hibernate Search is a really great library and I would like to help whatever way I can. P.S Hadoop and Hibernate Search? Cheers Amin On Fri, Oct 23, 2009 at 7:24 PM, Emmanuel Bernard wrote: > Hello, > > On 23 oct. 09

[hibernate-dev] Some minor improvements to Hibernate Search

2009-10-23 Thread Amin Mohammed-Coleman
Hi All I have been looking at the Hibernate Search codebase and I am very keen to help out. I have noticed some small changes I would like to purpose (very small) and I hope I don't offend anyone by mentioning these. 1) Remove cyclic reference in JmsBackEndQueueProcessor and JmsBackEndQueueProce