-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Monitor monitor = new Monitor(new LuceneQueryParser("text", ANALYZER), new TermFilteredPresearcher());
List monitorQueries = new ArrayList<>();
String rangeQuery = "text:[1 TO 40]";
monitorQueries.add(new MonitorQuery("1", rangeQuery));
It's accepting 4000 but not accept for 5
InputDocument doc = InputDocument.builder("1")
.addField("text", "4000", new KeywordAnalyzer())
.build();
DocumentBatch batch = DocumentBatch.of(doc);
Matches<HighlightsMatch> matches = monitor.match(batch, HighlightingMatcher.FACTORY);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels