Hi, all! I am currently using the default Lucene's pattern capture token filter in one of my projects where I have to utilize it for pattern matching. The issue with it is that the default pattern capture token filter in elastic search gives the same start and end offset for each generated token: the start and end offset as that of the input string. I have to highlight the generated tokens in the text, but instead of highlighting the matches only, it is highlighting the entire text. Is there any way by which I can change the start and end offset of an input string to the positions at which they are found in the input string?
Not Answered yet! Be the first to answer.
Using PlantUML, we can easily configure the components and can connect them also if we want to do any modification then that can easily be done by changing the line of code instead of modifying the di...
Jun 27, 2021, 12:50:31 PM | Anurag Srivastava
Nov 29, 2020, 5:16:40 PM | Anurag Srivastava
Sep 12, 2020, 3:58:55 PM | Anurag Srivastava
Aug 1, 2020, 6:19:45 PM | Anurag Srivastava
Dec 31, 2019, 1:33:53 PM | Anurag Srivastava
Aug 10, 2018, 7:14:40 PM | Anurag Srivastava
Jul 31, 2018, 6:16:42 PM | Anurag Srivastava
Jun 30, 2018, 12:07:47 PM | jitender yadav
Aug 29, 2018, 7:15:06 PM | Anurag Srivastava
Aug 18, 2018, 6:02:20 PM | Anurag Srivastava