lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uwe Schindler <>
Subject Re: Issue with numeric fields in 4.x
Date Tue, 22 Aug 2017 16:58:25 GMT

If you use NumericField you can only use NumericRangeQuery to search on them (also for single
value query aka TermQuery). The same applies for Lucene 6s point fields. Most query parsers
have no schema information, so they can only create Term* not Numeric* query types, unless
you subclass them to have special handling for the fields without classical terms.


Am 22. August 2017 18:39:40 MESZ schrieb Andrew Schuler <>:
>I'm new to this list and a Lucene n00b so I'm hoping you all can help
>I'm consuming an index that was built with version 4.7.2. The index has
>numeric fields. When I try to search on those fields I get no result. I
>opened the index up with Luke and it seems there is something weird
>on with those field. I can see that there are values in the fields but
>I try to access them it just show gibberish. Has anyone seen this
>and can maybe point me in the right direction to troubleshooting this
>further? I'm including a screenshot of Luke that demonstrated what I'm
>talking about.
>[image: Inline image 1]
>Any help would be greatly appreciated as this has had me stuck for a

Uwe Schindler
Achterdiek 19, 28357 Bremen
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message