You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Koji Sekiguchi <ko...@r.email.ne.jp> on 2009/04/17 10:41:06 UTC
analyzer in QueryElevationComponent
Hi,
I'm just seeing the source of QueryElevationComponent.java.
At inform() method, analyzer object is set like this:
// line 154
analyzer = ft.getAnalyzer();
Why is getAnalyzer() used? Isn't getQueryAnalyzer() better?
Koji
Re: analyzer in QueryElevationComponent
Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
Opened SOLR-1125. Thanks.
Koji
Ryan Mckinley wrote:
> Yup -- that would be better.
>
> On Apr 17, 2009, at 4:41 AM, Koji Sekiguchi <ko...@r.email.ne.jp> wrote:
>
>> Hi,
>>
>> I'm just seeing the source of QueryElevationComponent.java.
>> At inform() method, analyzer object is set like this:
>>
>> // line 154
>> analyzer = ft.getAnalyzer();
>>
>> Why is getAnalyzer() used? Isn't getQueryAnalyzer() better?
>>
>> Koji
>>
>>
>
Re: analyzer in QueryElevationComponent
Posted by Ryan Mckinley <ry...@gmail.com>.
Yup -- that would be better.
On Apr 17, 2009, at 4:41 AM, Koji Sekiguchi <ko...@r.email.ne.jp> wrote:
> Hi,
>
> I'm just seeing the source of QueryElevationComponent.java.
> At inform() method, analyzer object is set like this:
>
> // line 154
> analyzer = ft.getAnalyzer();
>
> Why is getAnalyzer() used? Isn't getQueryAnalyzer() better?
>
> Koji
>
>