Hello, It seems like I breached the limit on unconscious replies in mailing list I'd rather start with this: q={!join from=site_id to=site_id fromIndex=stores score=max}+{!geofilt} {!func}geodist()&sfield=coordinates&pt=54.69738679999999,25.224815300000046&d=10
On Mon, Nov 11, 2019 at 11:11 PM Mikhail Khludnev <m...@apache.org> wrote: > Is it something like https://issues.apache.org/jira/browse/SOLR-10673 ? > > On Mon, Nov 11, 2019 at 3:47 PM Vasily Ogar <ogar.vas...@gmail.com> wrote: > >> it's show nothing because I got an error >> "metadata":[ "error-class","org.apache.solr.common.SolrException", >> "root-error-class","org.apache.solr.search.SyntaxError"], >> "msg":"org.apache.solr.search.SyntaxError: >> geodist - not enough parameters:[]", >> >> If I set parameters then I got another error >> "metadata":[ "error-class","org.apache.solr.common.SolrException", >> "root-error-class","org.apache.solr.common.SolrException"], "msg":"A >> ValueSource isn't directly available from this field. Instead try a query >> using the distance as the score.", >> >> On Mon, Nov 11, 2019 at 1:36 PM Mikhail Khludnev <m...@apache.org> wrote: >> >> > Hello, Vasily. >> > Why not? What have you got in debugQuery=true? >> > >> > On Mon, Nov 11, 2019 at 1:19 PM Vasily Ogar <ogar.vas...@gmail.com> >> wrote: >> > >> > > Hello, >> > > Is it possible to sort by score in join by geodist()? For instance, >> > > something like this >> > > q={!join from=site_id to=site_id fromIndex=stores score=max} >> > > +{!func}gedist() +{!geofilt sfield=coordinates >> > > pt=54.69738679999999,25.224815300000046 d=10} >> > > sort=score desc >> > > Thank you >> > > >> > >> > >> > -- >> > Sincerely yours >> > Mikhail Khludnev >> > >> > > > -- > Sincerely yours > Mikhail Khludnev > -- Sincerely yours Mikhail Khludnev