: I have inherited a new class from the org.apache.solr.schema.StrField and : customed a new sort algorithm by implementing the SortComparatorSource : interface.Then to export the jar file to the solr lib directory, and : configure the schema.xml file.But when I test the new feature, It does't : work at all.Can you give some suggestions?Thanks.
1) you have to be more specific about "does't work at all" ... does it cause an error? do the documents come back in some other order? etc... 2) can you show us the code for the "getSortField" method of your StrField subclass? -Hoss