I'm trying to get a better understanding of how the terms from the query are matched against synonyms. I've been adding breakpoints to this file: https://github.com/apache/lucene-solr/blob/master/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/SynonymFilter.java#L398
When running the SynonymsAnalysisTests however I can't seem to workout where the matches are happening. Can someone point me in the right direction?
Just returns some bytes which aren't the synonyms. What does matchOutput represent in bytes?