I don't know of any pre-existing thing that does exactly this, but how
about a token filter that counts tokens (or positions maybe), and then
appends some special token encoding the length?
On Sat, Dec 28, 2019, 9:36 AM Matt Davis wrote:
> Hello,
>
> I was wondering if it is possible to search f
Hello,
I was wondering if it is possible to search for the number of tokens in a
text field. For example find book titles with 3 or more words. I don't
mind adding a field that is the number of tokens to the search index but I
would like to avoid analyzing the text two times. Can Lucene search