: The correct way for a plugin to do the sort of thing you are trying to do 
: would be to use an instance of SolrQueryParser -- see for example the code 
: in LuceneQParser and how it uses SolrQueryParser ... you'll most likeley 
: just want to use LuceneQParser directly in your plugin to simplify things.

...or depending on how low level you want to deal with things, consider 
using IndexSchema.getField(...).getFieldType().getRangeQuery(null, ...) to 
build your range Query object directly from the low/high end points 
provided as input instead of needing to build a string just to parse it 
again.


-Hoss
http://www.lucidworks.com/

Reply via email to