<div dir="ltr">Hey Sanne, <div><br></div><div>Looks good. Could you tell me where I can find some information about the CDI and Spring improvements? Maybe there&#39;s something we could integrate into our extensions...</div><div><br></div><div>Thanks,</div><div>Sebastian</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 13, 2017 at 8:34 PM Sanne Grinovero &lt;<a href="mailto:sanne@infinispan.org">sanne@infinispan.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">TLDR: the new Search SPI requires using the &quot;free form&quot; types - but<br>
don&#39;t expect to be able to take advantage of it just yet.<br>
<br>
Hi all,<br>
<br>
we just released Hibernate Search 5.8.0.Beta3 and it&#39;s meant to be our<br>
last beta!<br>
<br>
Progress and pace are looking very good.<br>
<br>
The details of the release can be found on our blog [1] as usual, but<br>
I&#39;d like to call out on several changes relevant for Infinispan.<br>
<br>
First and foremost, know that we&#39;ll be working on 6.0 as next big<br>
thing; at that stage the API will see a significant redesign, focused<br>
on making Lucene an optional implementation detail.<br>
<br>
This makes this 5.8 significant for Infinispan as it&#39;s the last one<br>
you&#39;ll have until you&#39;re ready to break API.<br>
<br>
We&#39;ve been working hard on addressing the needs of Infinispan, but in<br>
several cases we had to make - and will still make - dramatic changes<br>
in the SPI.<br>
<br>
Some benefits relevant to you all:<br>
 - the &quot;ram&quot; directory changed name as you suggested just recently<br>
 - statistics now include index size (how large is it to store it)<br>
 - a proper API to define Analyzers programmatically, you could now<br>
add &quot;out of the box&quot; default definitions for Infinispan server.<br>
 - the same for Normalizers (a new concept, see the blog [1])<br>
 - tons of other improvements and bugfixes ;) such as:<br>
   -- better performance by finally being able to use JDK8 features<br>
   -- Java 9 compatibility<br>
   -- a critical performance improvement in Spatial bridges<br>
   -- better Spring and CDI improvements<br>
<br>
<br>
# A new type system is coming !<br>
<br>
And this is the main point.. however, it&#39;s not ready yet as it&#39;s a huge change.<br>
<br>
The new type system - also named &quot;free form&quot; in all the meetings in<br>
which we wished we had it - needs to start from the SPI and that&#39;s<br>
partially included in this Beta.<br>
(We postponed this for way too long by trying to match a good time to<br>
break SPIs.. we&#39;ll just break it or it will never happen)<br>
<br>
I will soon send a PR to update Infinispan to *work fine* with the<br>
current SPI changes, but I will refrain from refactoring anything yet,<br>
so that we can validate it all in small steps.<br>
<br>
Still, many other existing SPI methods have been deprecated:<br>
<br>
As soon as that&#39;s merged, I&#39;ll need help to migrate away from all<br>
those deprecated methods as I simply can&#39;t make progress on the Search<br>
side without starting to delete a good amount of these deprecated<br>
methods.<br>
So please know this: most of those deprecated methods will be removed<br>
from Hibernate Search soon; we can of course keep some of them around<br>
if we identify strong needs, but identifying these points can only be<br>
done by getting started.<br>
<br>
Please note that you can&#39;t yet plug-in a new type system to benefit<br>
REST, Protobuf or other systems:<br>
 - several components still make assumptions about this being backed<br>
by annotated POJOs<br>
 - there&#39;s no SPI yet to plugin alternative metadata<br>
<br>
There&#39;s also no API to extract indexed values from an alternative<br>
system, although I&#39;m sure you could keep using the current hacks for<br>
this to work out: it&#39;s not possible to get this in 5.8 so it will have<br>
to be 6+.<br>
<br>
Thanks,<br>
Sanne<br>
<br>
1 - <a href="http://in.relation.to/2017/06/13/hibernate-search-5-8-0-Beta3/" rel="noreferrer" target="_blank">http://in.relation.to/2017/06/13/hibernate-search-5-8-0-Beta3/</a><br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p class="inbox-inbox-fullname-container" style="box-sizing:border-box;color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span class="inbox-inbox-firstname-container" style="box-sizing:border-box">SEBASTIAN</span><span class="inbox-inbox-Apple-converted-space"> </span><span class="inbox-inbox-lastname-container" style="box-sizing:border-box">ŁASKAWIEC</span></p><p class="inbox-inbox-position-container" style="box-sizing:border-box;color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span class="inbox-inbox-position" style="box-sizing:border-box">INFINISPAN DEVELOPER</span></p><p class="inbox-inbox-legal-container" style="box-sizing:border-box;font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a class="inbox-inbox-redhat-anchor" href="https://www.redhat.com/" target="_blank" style="box-sizing:border-box;color:rgb(0,136,206);margin:0px;text-decoration:none">Red Hat<span class="inbox-inbox-Apple-converted-space"> </span><span style="box-sizing:border-box">EMEA</span></a></p><table border="0" style="box-sizing:border-box;color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td width="100px" style="box-sizing:border-box"><a href="https://red.ht/sig" style="box-sizing:border-box"><img width="90" height="auto" style="box-sizing: border-box;" src="https://www.redhat.com/files/brand/email/sig-redhat.png"></a></td></tr></tbody></table></div></div>