Lucene LongPoint Range search doesn't work
问题 I am using Lucene 8.2.0 in Java 11. I am trying to index a Long value so that I can filter by it using a range query, for example like so: +my_range_field:[1 TO 200] . However, any variant of that, even my_range_field:[* TO *] , returns 0 results in this minimal example. As soon as I remove the + from it to make it an OR , I get 2 results. So I am thinking I must make a mistake in how I index it, but I can't make out what it might be. From the LongPoint JavaDoc: An indexed long field for fast