When using line-by-line search using the line:(...) operator combined with AND (which is simply space) each line is returned multiple times in the search results.
@naman
it works if you change your search query to “line:(/.*/ (word1 word2))”.
You can also use all search operators like “line:(/.*/ (word1 OR word2))”, “line:(/.*/ (word1 -word2))” etc.
BR Hupo
Thanks Hupo. This is super helpful. I suspected a workaround should be possible using regex, but not too proficient in it to figure out myself. This is great and super useful.