Re: Query.extractTerms dissapeared from 5.1.0 to 5.2.0

2017-02-01 Thread Max Bridgewater
Perfect. Thanks a lot.

On Wed, Feb 1, 2017 at 2:01 PM, Alan Woodward  wrote:

> Hi, extractTerms() is now on Weight rather than on Query.
>
> Alan
>
> > On 1 Feb 2017, at 17:43, Max Bridgewater 
> wrote:
> >
> > Hi,
> >
> > It seems Query.extractTerms() disapeared from 5.1.0 (
> > http://lucene.apache.org/core/5_1_0/core/org/apache/lucene/
> search/Query.html)
> > to 5.2.0 (
> > http://lucene.apache.org/core/5_2_0/core/org/apache/lucene/
> search/Query.html
> > ).
> >
> > However, I cannot find any comment on it in 5.2.0 release notes. Any
> > recommendation on what I should use in place of that method? I am
> migrating
> > some legacy code from Solr 4 to Solr 6.
> >
> > Thanks,
> > Max.
>
>


Re: Query.extractTerms dissapeared from 5.1.0 to 5.2.0

2017-02-01 Thread Alan Woodward
Hi, extractTerms() is now on Weight rather than on Query.

Alan

> On 1 Feb 2017, at 17:43, Max Bridgewater  wrote:
> 
> Hi,
> 
> It seems Query.extractTerms() disapeared from 5.1.0 (
> http://lucene.apache.org/core/5_1_0/core/org/apache/lucene/search/Query.html)
> to 5.2.0 (
> http://lucene.apache.org/core/5_2_0/core/org/apache/lucene/search/Query.html
> ).
> 
> However, I cannot find any comment on it in 5.2.0 release notes. Any
> recommendation on what I should use in place of that method? I am migrating
> some legacy code from Solr 4 to Solr 6.
> 
> Thanks,
> Max.



Query.extractTerms dissapeared from 5.1.0 to 5.2.0

2017-02-01 Thread Max Bridgewater
Hi,

It seems Query.extractTerms() disapeared from 5.1.0 (
http://lucene.apache.org/core/5_1_0/core/org/apache/lucene/search/Query.html)
to 5.2.0 (
http://lucene.apache.org/core/5_2_0/core/org/apache/lucene/search/Query.html
).

However, I cannot find any comment on it in 5.2.0 release notes. Any
recommendation on what I should use in place of that method? I am migrating
some legacy code from Solr 4 to Solr 6.

Thanks,
Max.