Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.0
-
None
Description
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.
- TokenizerChain newa = new TokenizerChain(tcq.getTokenizerFactory(), newtf); + TokenizerChain newa = new TokenizerChain(tcq.getCharFilterFactories(), tcq.getTokenizerFactory(), newtf);
Attachments
Issue Links
- links to