search: include subheadings in znai index
@@ -53,6 +53,11 @@ public class SearchCrawlerParserHandler extends NoOpParserHandler {
flushTextParts();
}
+ @Override
+ public void onSubHeading(int level, String title) {
+ addSeparated(title);
+ }
+
@Override
public void onTable(MarkupTableData tableData) {
addSeparated(tableData.allText());
