I have found out the reason. To do a range search against a field , the field must be defined as "raw-fields" , NOT "fields". That means the plugin.xml of the range-query-plugin should look like this :
...... <parameter name="raw-fields" value="fieldname"/> ...... If set it to "fields" instead of "raw-fields", a ClassCastException will be thrown. It seems only "raw-fields" can be searched by range. Now I can run range search successfully. Hope my experience can help the one who get the same problem. Regards Kevin -- View this message in context: http://www.nabble.com/ClassCastException-thrown-while-doing-range-search-tf4596235.html#a13172322 Sent from the Nutch - User mailing list archive at Nabble.com.
