You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Tomoko Uchida <to...@gmail.com> on 2015/05/14 08:26:23 UTC
DirectoryReader.open(commit, termInfosIndexDivisor) has gone at 5.0 ?
Hi,
A question about API changes in Lucene 5.
The method "DirectoryReader.open(commit, termInfosIndexDivisor)" has been
removed at Lucene 5.0.
This functionality was completely removed?
Backgrounds:
I am trying to make Luke work with Lucene 5.1.
Luke for Lucene 4.x supports "TermInfos index divisor". For Lucene 5, we
should drop all UIs for those. Am I correct.
Thanks,
Tomoko
Re: DirectoryReader.open(commit, termInfosIndexDivisor) has gone at
5.0 ?
Posted by Tomoko Uchida <to...@gmail.com>.
Hi Mike,
Thank you,
I feel safe to remove the "terminfos index divisor" feature from Luke.
All,
This is my local branch of Luke for Lucene 5. Build is OK and major
functions seems to work fine, but not fully tested. Your feedback is
welcome.
https://github.com/mocobeta/luke/tree/5x_support
If you find any problems, please leave comments here!
https://github.com/DmitryKey/luke/pull/27
Thanks,
Tomoko
2015-05-15 0:02 GMT+09:00 Michael McCandless <lu...@mikemccandless.com>:
> Yes, this API is gone ... the new default terms index in 4.x is quite
> a bit more RAM efficient than before, and it has index-time params to
> further reduce how much RAM it is allowed to use for the terms index.
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Thu, May 14, 2015 at 2:26 AM, Tomoko Uchida
> <to...@gmail.com> wrote:
> > Hi,
> >
> > A question about API changes in Lucene 5.
> > The method "DirectoryReader.open(commit, termInfosIndexDivisor)" has been
> > removed at Lucene 5.0.
> > This functionality was completely removed?
> >
> > Backgrounds:
> > I am trying to make Luke work with Lucene 5.1.
> > Luke for Lucene 4.x supports "TermInfos index divisor". For Lucene 5, we
> > should drop all UIs for those. Am I correct.
> >
> > Thanks,
> > Tomoko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
Re: DirectoryReader.open(commit, termInfosIndexDivisor) has gone at
5.0 ?
Posted by Michael McCandless <lu...@mikemccandless.com>.
Yes, this API is gone ... the new default terms index in 4.x is quite
a bit more RAM efficient than before, and it has index-time params to
further reduce how much RAM it is allowed to use for the terms index.
Mike McCandless
http://blog.mikemccandless.com
On Thu, May 14, 2015 at 2:26 AM, Tomoko Uchida
<to...@gmail.com> wrote:
> Hi,
>
> A question about API changes in Lucene 5.
> The method "DirectoryReader.open(commit, termInfosIndexDivisor)" has been
> removed at Lucene 5.0.
> This functionality was completely removed?
>
> Backgrounds:
> I am trying to make Luke work with Lucene 5.1.
> Luke for Lucene 4.x supports "TermInfos index divisor". For Lucene 5, we
> should drop all UIs for those. Am I correct.
>
> Thanks,
> Tomoko
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org