[ 
https://issues.apache.org/jira/browse/SOLR-6017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981338#comment-13981338
 ] 

Erick Erickson commented on SOLR-6017:
--------------------------------------

Gaahhhhh! What do people think about refactoring getAnalyzer() to 
getIndexAnalyzer()? This is trappy...

Actually, since it's a public method I suppose we'd have to deprecate it and 
just have it call a new getIndexAnalyzer(). There's only 10 or so places it's 
called in Solr.....

At least that way an IDE's autocomplete would give some clue that there even 
_were_ two methods....

> SimpleQParser uses index analyzer instead of query analyzer
> -----------------------------------------------------------
>
>                 Key: SOLR-6017
>                 URL: https://issues.apache.org/jira/browse/SOLR-6017
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>         Attachments: SOLR-6017.patch
>
>
> The SimpleQParser uses getAnalyzer(), but it should be getQueryAnalyzer().



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to