: 
: Inspirited by the previous post, does it possible to add my custom field and
: use it for sorting the search result?
: If It is possible, what will be the step? Do I need to modify the source
: code?

adding a custom field is easy, just add the <field/> to your schema.xml 
and put data in it.

adding a custom *fieldtype* is trickier ... compile your new fieldtype 
against the solr code base, package it in a jar, and put that jar in the 
plugin lib dir...

        http://wiki.apache.org/solr/SolrPlugins

...no need to modify any Solr code.




-Hoss

Reply via email to