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

ASF subversion and git services commented on SOLR-12035:
--------------------------------------------------------

Commit 8b8187d1ee81e04d6bf7f7484e95224fe36683f4 in lucene-solr's branch 
refs/heads/branch_7x from [~tomasflobbe]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8b8187d ]

SOLR-12035: edimax should include charfilters in nostopanalyzer

This closes #329


> ExtendedDismaxQParser fails to include charfilters in nostopanalyzer
> --------------------------------------------------------------------
>
>                 Key: SOLR-12035
>                 URL: https://issues.apache.org/jira/browse/SOLR-12035
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: query parsers
>    Affects Versions: master (8.0)
>            Reporter: Tim Allison
>            Assignee: Tomás Fernández Löbbe
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In some circumstances, the ExtendedDismaxQParser tries to remove stop filters 
> from the TokenizerChain.  When building the new analyzer without the stop 
> filters, the charfilters from the original TokenizerChain are not copied over.
> The fix is trivial.
> {noformat}
> -      TokenizerChain newa = new TokenizerChain(tcq.getTokenizerFactory(), 
> newtf);
> +     TokenizerChain newa = new TokenizerChain(tcq.getCharFilterFactories(), 
> tcq.getTokenizerFactory(), newtf);
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to