Help with token streams and graphs

2019-03-20 Thread Nicolás Lichtmaier
I'm trying to make synonyms work right and for that I'm trying to understand better graphs in a token stream. For that purpose I've built this code:             Builder builder = CustomAnalyzer.builder();             builder.withTokenizer(StandardTokenizerFactory.class);             MySynonym

8.0.0 ClassCastException in ValueSource

2019-03-20 Thread Markus Jelsma
Hello, Upgraded to Lucene and Solr 8.0 and ran all our unit tests, this one popped up: Caused by: java.lang.ClassCastException: org.apache.lucene.queries.function.ValueSource$ScoreAndDoc cannot be cast to org.apache.lucene.search.Scorer at org.apache.lucene.queries.function.ValueSource