Re: Function Question

2011-02-03 Thread William Bell
I like it. You would think it would be easy to get the values from a multiValue field in the geodist() function, but I guess it was not built for that. If anyone has done something similar, let me know. Thanks. Bill On Thu, Feb 3, 2011 at 3:18 PM, Geert-Jan Brits wrote: > I don't have a direct

Re: Function Question

2011-02-03 Thread Geert-Jan Brits
I don't have a direct answer to your question, but you could consider having fields: latCombined and LongCombined where you pairwise combine the latitudes and longitudes, e.g: latCombined: 48.0-49.0-50.0 longcombined: 2.0-3.0-4.0 Than in your custom scorer above split latC

Re: Function Question

2011-02-03 Thread William Bell
Thoughts? On Wed, Feb 2, 2011 at 10:38 PM, Bill Bell wrote: > > This is posted as an enhancement on SOLR-2345. > > I am willing to work on it. But I am stuck. I would like to loop through > the lat/long values when they are stored in a multiValue list. But it > appears that I cannot figure out to

Function Question

2011-02-02 Thread Bill Bell
This is posted as an enhancement on SOLR-2345. I am willing to work on it. But I am stuck. I would like to loop through the lat/long values when they are stored in a multiValue list. But it appears that I cannot figure out to do that. For example: sort=geodist() asc This should grab the closest

Function Question

2011-02-02 Thread Bill Bell
This is posted as an enhancement on SOLR-2345. I am willing to work on it. But I am stuck. I would like to loop through the lat/long values when they are stored in a multiValue list. But it appears that I cannot figure out to do that. For example: sort=geodist() asc This should grab the closest

Function Question

2011-02-02 Thread Bill Bell
This is posted as an enhancement on SOLR-2345. I am willing to work on it. But I am stuck. I would like to loop through the lat/long values when they are stored in a multiValue list. But it appears that I cannot figure out to do that. For example: sort=geodist() asc This should grab the close