m=param.. v=$g}&q={!bool must='{!geofilt}'
> should='{!func}geodist()'} ?
>
> On Thu, Nov 14, 2019 at 10:11 PM Vasily Ogar
> wrote:
>
> > I tried and this way also, but here is another error.
> > { "responseHeader":{ "status":400
to=site_id fromIndex=stores score=max}+{!geofilt}
{!func}geodist() ", "hl.simple.post":"", "hl.q":"{!edismax qf=$hl.fl
v=\"iphone xr 64gb\"}", "hl.method":"unified", "debugQuery":"on"}}, "error":{
;metadata":[ "error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.parser.ParseException"],
"msg":"org.apache.solr.search.SyntaxError:
Cannot parse '+{!geofilt}{!func}geodist()': Encountered \&
I was glad too early because it can only sort or only filter, but can't do
together :(. It takes the only first argument, in my case it geodist or
geofilt
On Thu, Nov 14, 2019 at 11:11 AM Vasily Ogar wrote:
> Hello,
> I fixed it. If I need to sort by price:
> "q":"{
ot;
"fq":"{!edismax qf=\"title description\" v=\"iphone xr 64gb\" mm=3<90%}", "
fl":"score,*,store:[subquery fromIndex=stores]",
"store.q":"{!terms f=site_id v=$row.site_id}", "store.rows":"1", "
Thank you for advice, now it working as expected. Maybe you know how to
integrate with dismax?
On Tue, Nov 12, 2019 at 6:10 PM Mikhail Khludnev wrote:
> tlrd;
> I noticed func under fq that make no sense. Only q or sort yield scores.
>
> On Tue, Nov 12, 2019 at 6:43 PM Vasily
es score=max}{!func}geodist()"], "
parsed_filter_queries":["OtherCoreJoinQuery(OtherCoreJoinQuery
[fromIndex=stores, fromCoreOpenTime=3373417389901342 extends
SameCoreJoinQuery
[fromQuery=ShapeFieldCacheDistanceValueSource(org.apache.lucene.spatial.prefix.PointPrefixTreeFieldCacheP
rectly 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 wrote:
> Hello, Vasily.
> Why not? What have you got in debugQuery=true?
>
> On Mon, Nov 11, 2019 at 1:19 PM Vasily Ogar 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.6973867999,25.22481530046 d=10}
sort=score desc
Thank you
Ok, thank you
On Mon, Nov 11, 2019 at 9:56 AM Mikhail Khludnev wrote:
> Oh.. gosh. Sure. Subquery yields doc results only, neither of facets,
> highlighting is attached to response.
>
> On Mon, Nov 11, 2019 at 10:07 AM Vasily Ogar
> wrote:
>
> > My subquery is products
else
On Mon, Nov 11, 2019 at 8:25 AM Mikhail Khludnev wrote:
> Hello,
> Have you tried to pefix hl.* params with particular subquery name?
>
> On Sun, Nov 10, 2019 at 11:46 PM Vasily Ogar
> wrote:
>
> > Hello,
> > I am using Solr 8.2 and can't find out how to
Hello,
I am using Solr 8.2 and can't find out how to use highlight in the
subquery. Is it possible at all?
Thank you
12 matches
Mail list logo