That does some like an unhelpful example to have, though https://lucene.apache.org/solr/guide/8_6/filter-descriptions.html#synonym-filter does clearly state that it is deprecated in favour of SynonymGraphFilterFactory . Deprecated classes will (should) continue to work, but are likely to be removed at some point, e.g. the next major release. IIRC (might be wrong though) you can simply replace with SynonymFilterFactory with SynonymGraphFilterFactory and it should just work in most cases, but do test it.
On Thu, 30 Jul 2020 at 07:52, Jayadevan Maymala <jayade...@ftltechsys.com> wrote: > Hi all, > > We have been using SynonymFilterFactory with Solr 7.3. It seems to be > working, > Going through the documentation for 8.6, I noticed that it was deprecated a > long time ago, probably before 7.3 > The documentation at this url, for version 8.6 - > > https://lucene.apache.org/solr/guide/8_6/field-type-definitions-and-properties.html > does give <filter class="solr.SynonymFilterFactory" > synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/> as an > example. > Two doubts - > Does a deprecated class continue working? > Shouldn't the documentation be updated to modify the example? > > A request - if the documentation at the url mentioned above has a search, > that will really help. I could find only a Page Title lookup. > > Regards, > Jayadevan >