SQM - new single phase interpretation of HQL/JPQL
by Steve Ebersole
Today Andrea and I spent the day investigating interpreting of HQL/JPQL
into SQM in just a single phase as opposed to the previous 2-phase approach
(all FromClauses as first phase, and then the rest of statements as
second). Andrea had the idea to try this again (both he and I tried
previously), and today we were able to make it happen!
As a result interpreting HQL/JPQL into SQM should be even faster now.
We also took the opportunity to clean up.
Enjoy! I am sure we will have more tomorrow, but we should be focusing on
the ORM integration mostly moving forward.
10 years
SQM - keyword handling
by Steve Ebersole
Another thing Andrea and I did today was to identify that our current
approach to handling keywords (to allow for "keywords as identifier")
caused quite major performance problems.
So we have started to rewrite how keywords and "keywords as identifier"
work. We have consistently seen an improvement over the SQM test suite
dropping from 3+ seconds to sub 1 second.
Yaay!
10 years
Sporadic hibernate-orm-master-h2 build failure
by Vlad Mihalcea
Hi,
I noticed that the hibernate-orm-master-h2 keeps on failing from time to
time because of a timeout:
Build timed out (after 90 minutes). Marking the build as failed.
Build was aborted
[CHECKSTYLE] Collecting checkstyle analysis files...
FAILED
I wonder why do we even have a timeout during the build process?
Is there something that could potentially take so long that we cannot
afford running the build for too long?
Vlad
10 years
[HSEARCH] Projection into POJO
by Gunnar Morling
Hi,
I got an interesting question during my talk today which I couldn't
answer right away: Is it possible to select a projection resulting
from a full-text query into a POJO/DTO?
After checking on the API of FullTextQuery again, I now realize that a
ResultTransformer could be used to instantiate POJOs based on result
rows.
Is this as good as it gets or is there any other, better way?
Thanks,
--Gunnar
10 years
[Search] Elasticsearch - Translating exceptions?
by Guillaume Smet
Hi,
I have a question regarding the Elasticsearch backend: should we try to
translate the Elasticsearch exceptions to Hibernate Search exceptions (the
ones from the loggers) when possible?
Good examples of it are in
SpatialIndexingTest#testNonGeoDistanceSortOnNonSpatialField and
#testNonGeoDistanceSortOnMissingField.
I think it might make sense for these particular examples but I wonder if
it won't be a maintenance burden in the long term.
Thoughts?
--
Guillaume
10 years