RE: NumericField and PerFieldAnalyzer

2013-11-01 Thread Vielsack, Marcel
FYI I figured out what the problem is/was. It was not the PerFieldAnalyzer, it was the QueryParser I used. The QueryParser created a TermRangeQuery and not a NumericRangeQuery. -Original Message- From: Vielsack, Marcel [mailto:marcel.viels...@capgemini.com] Sent: Donnerstag, 31

NumericField and PerFieldAnalyzer

2013-10-31 Thread Vielsack, Marcel
Hey there, I’m struggling with NumericRangeQueries in combination with a PerFieldAnalyzerWrapper. My documents containing a IntField called “age”. I’m sure that there is a document contain the value 42 in field age. If I place a query like age:42 there is no hit If I do a range query like age: