: This is a background as to what I am trying to achieve. I want to be able : to perform a search across numeric index ranges and get the results in : logical ordering instead of a lexicographic ordering using dspace. Currently
As i tried to explain beofre: i have no idea what 'dspace' is... : perform numeric range queries and return the result in logical ordering. I : was thinking about using either TrieField classes for int, double etc.. : and/or SortableIntField, SortableLongField classes defined in solr to : perform range query search in dspace. if you can customize the "dspace" code used to build your index, then you can absolutely use the TrieField classes to generate numbers which will work with range queries -- except, as i said before, you don't actually need to use the solr "TrieField" classes directly -- they are just wrappers arround lucene utilities for generating the appropriate field values, so you can use those directly (see the TrieField source code for detials) If you can not customize the "dspace" code used to build your index, then none of the solr code for edealing with numeric fields is going to be of any use to you -- range queries only work if the values are incoded properly when indexed. -Hoss