Not out of the box. You may be able to achieve this with a custom Function Query (info on zee Wiki).
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Aidan <aida...@gmail.com> > To: solr-user@lucene.apache.org > Sent: Monday, March 23, 2009 10:56:43 AM > Subject: Calculating similarity of values that contain a mix of text and > numerics > > I want to store name-value pairs in a multi-valued field, e.g. > > properties: "length 42", "height 12", "width 20" > > Is there a way of comparing similar documents with these part text/part > numeric fields so that closer numeric values are scored higher?