View Single Post
Old 08-06-2022, 04:53 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,427
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's just how the FTS engine works (indeed most fts engines work). Think of for example a google search. They dont return multiple matches per webpage.

As for replicating near queries, you can do so in the viewer, using regular expressions. So for example to find the words one and two near each other you can search for

(?s)\bone\b.{3,150}\btwo\b

The only caveat is that the numbers above are characters not words, so its not quite as precise as in the FTS search.
kovidgoyal is online now   Reply With Quote