chrisparrinello opened a new pull request, #16966:
URL: https://github.com/apache/lucene/pull/16966
### Description
Removes the deprecated `SynonymFilter` and `SynonymFilterFactory` (SPI name
`synonym`) for 11.0. Use `SynonymGraphFilter` / `SynonymGraphFilterFactory`
(SPI name `synonymGraph`)
instead, followed by `FlattenGraphFilter` at index time.
### Changes
- Deleted `SynonymFilter` and `SynonymFilterFactory`, plus their entries in
`module-info.java` and the `TokenFilterFactory` services file.
- Deleted `TestSynonymMapFilter`, `TestSynonymFilterFactory` and
`TestSolrSynonymParser`, as the issue lists. Also deleted what became unused:
`BaseSynonymParserTestCase`, `synonyms-wordnet.txt` and
`synonyms2.txt`.
- Ported the remaining tests to `SynonymGraphFilter`:
`TestWordnetSynonymParser`, `TestConcatenateGraphFilter`,
`TestLimitTokenPositionFilter` and `TestMultiWordSynonyms`. Their expected
token order,
positions and counts changed accordingly.
- Cleaned up the stale javadoc and comment references. The `{@link
SynonymFilter}` in the `SynonymGraphFilter` javadoc would otherwise break
javadoc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]