Analyzer.createComponents(String fieldname) only being called once, when indexing multiple documents

2023-06-08 Thread Usman Shaikh
Hello I hope somebody can offer suggestions/advice regarding this. I'm going through some old Lucene code and have a custom Analyzer which overrides the createComponents method. See snippet below public class BulletinPayloadsAnalyzer extends Analyzer { private boolean bulletin; private float

Question - ClassicSimilarity method not being called

2023-05-14 Thread Usman Shaikh
oadsTest.java#L76> is failing. The document "warning label maker" should be returned lower, because the other two documents should be boosted high (using the payload). This isn't happening. Sorry if my question isn't clear, hopefully the unit test is. Thanks Usman Shaikh