Re: [hibernate-dev] "rebranding" the Hibernate Search "ram" directory

2017-05-19 Thread Gustavo Fernandes
-1 to demote it to "testing" Let me show the other side of the coin :) RAMDirectory has its uses, as long as one understands its limitations. It is convenient for small non-persistent indexes, and last time I measured, it was faster to load than the FS directory. So it could be used in productio

Re: [hibernate-dev] A few questions about Search 5.5.0

2015-09-19 Thread Gustavo Fernandes
On Thu, Sep 17, 2015 at 8:43 PM, Guillaume Smet wrote: > Hi, > > I upgraded our framework to 5.5.0 and I have a few questions about it. > > == > First, I had to remove the existing indexes otherwise I had exceptions > about version of the index. Is this expected? As far as I remember, it's > been

Re: [hibernate-dev] [Hibernate Search] DocValues and Sorting API -> new mapping annotations ?

2015-08-11 Thread Gustavo Fernandes
> On 10 Aug 2015, at 23:18, Sanne Grinovero wrote: > > On 7 August 2015 at 13:31, Gustavo Fernandes <mailto:gust...@infinispan.org>> wrote: >> On Fri, Aug 7, 2015 at 1:14 PM, Sanne Grinovero wrote: >>> >>> A quick update on some more explorat

Re: [hibernate-dev] [Hibernate Search] DocValues and Sorting API -> new mapping annotations ?

2015-08-07 Thread Gustavo Fernandes
On Fri, Aug 7, 2015 at 1:14 PM, Sanne Grinovero wrote: > A quick update on some more exploration on this: > it turns out sorting on a NumericField when this field is also using > an "indexNullAs" token gets the UninvertingReader approach to throw an > exception. > My two conclusions: > - we need

Re: [hibernate-dev] Support for Elasticsearch in Hibernate OGM proposal

2014-08-22 Thread Gustavo Fernandes
> Interesting, I really need to take a closer look at ES and its APIs. > > How does it react when searching on an un-indexed field? If we can detect > the situation and raise a meaningful exception indicating that an index is > missing so a given query can't be run (could even be done during star

Re: [hibernate-dev] Hibernate and AOP

2011-09-08 Thread Gustavo Fernandes
If I understood correctly, you might want to take a look at Hibernate Interceptors [1], where you can react to hibernate events, detect if the annotation is present and react accordingly. [1] http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/events.html Gustavo On Thu, Sep 8, 2011 at

Re: [hibernate-dev] Spring Cache Abstraction

2011-02-23 Thread Gustavo Fernandes
On 02/23/2011 04:19 PM, Sanne Grinovero wrote: > Hi Marc, > do you have a link? sorry but "cache + Spring" in google returns a lot > of crap, most of it quite old. I believe the link is http://static.springsource.org/spring/docs/3.1.0.M1/spring-framework-reference/html/cache.html Gustavo __

Re: [hibernate-dev] HSEARCH-615 Support time-constrained queries returning the first available results

2010-11-06 Thread Gustavo Fernandes
IMHO there are lots of extra info to potentially return to the user beyond a list of query results. Besides a boolean indicating partial results and a long indicating query time, I can imagine other cases, such as HSEARCH-623 (facets). Other examples would be highlight information, Morelikethis

Re: [hibernate-dev] HSEARCH-615 Support time-constrained queries returning the first available results

2010-11-06 Thread Gustavo Fernandes
Solr uses 'timeAllowed' to provide the same functionality, it's think it's a nice name! On 6 Nov 2010 11:33, "Sanne Grinovero" wrote: > Hello, > about naming I have no better ideas: > .limitFetchTime() //slightly different, not very happy about it either > > about API, does it really make sense to

Re: [hibernate-dev] [HSearch] Upgrade to Lucene 3.0

2010-09-09 Thread Gustavo Fernandes
I agree with Sanne regarding the hiding of Solr framework behind an adaptor or whatever, even better if it'd possible to provide Solr integration as a separate module in HS (ex. hibernate-search-analyzers.jar), so that if someone wants it, just add the right jar, and Solr analyzers won't prevent

[hibernate-dev] [HSEARCH] Error building trunk

2010-07-31 Thread Gustavo Fernandes
Hello, I came across a problem when building the integration-test module: [ERROR] BUILD ERROR ... Reason: POM 'org.jboss.jbossas:jboss-as-component-matrix' not found in repository: Unable to download the artifact from any repository --- It's because of the dependency org.jboss.jbossts:jbossjta

Re: [hibernate-dev] Documentation In Brazilian Portuguese

2010-04-12 Thread Gustavo Fernandes
LOL "Mesa de banco de dados" ? Being a Brazilian too, that also scares me :D Gustavo On Mon, Apr 12, 2010 at 1:54 PM, Josivan de Souza wrote: > Hi, I'm brazilian, and I have revised many books in my native language. > Books about GWT, C#, SCJP, EJB, JavaFX, Web Semantic, etc... > When I'm downl

[hibernate-dev] Tests failing in HSEARCH trunk

2010-04-10 Thread Gustavo Fernandes
Hello, seems like there's a problem of test isolation in the trunk: $ mvn clean test Results : Tests in error: testProjection(org.hibernate.search.test.query.ProjectionQueryTest) testList(org.hibernate.search.test.query.LuceneQueryTest) testResultSize(org.hibernate.search.test.query.Lucen