Thank your for the response.
this query worked without errors:
> (city:"tucson"^1000) +{!parent which="is_parent:true"
> score=max}(normal_text:"silver ring")
>
however, this is not exactly what I was looking for..
I got from solr all the documents that their city field has the value
Tucson.
but I
Giving the error message you undercopypasted search query and and omit the
closing bracket.
On Tue, Apr 12, 2016 at 3:30 PM, michael solomon
wrote:
> Thanks,
> when I'm trying:
> city:"walla walla"^10 {!parent which="is_parent:true"
> score=max}(normal_text:walla)
> I get:
>
> > "msg": "org.apac
Thanks,
when I'm trying:
city:"walla walla"^10 {!parent which="is_parent:true"
score=max}(normal_text:walla)
I get:
> "msg": "org.apache.solr.search.SyntaxError: Cannot parse
> '(normal_text:walla': Encountered \"\" at line 1, column 18.\nWas
> expecting one of:\n ...\n ...\n ...\n
Hello,
It's usually
parent_field:"bla bla"^10 {!parent which="is_parent:true"
score=max}(child_field:bla)
or
parent_field:"bla bla"^10 +{!parent which="is_parent:true"
score=max}(child_field:bla)
there should be no spaces in child clause, otherwise extract it to param
and refrer via v=$param
On
Hi,
I'm using in BlockJoin Parser Query for return the parent of the relevant
child i.e:
{!parent which="is_parent:true" score=max}(child_field:bla)
It's possible to boost the parent? something like:
{!parent which="is_parent:true" score=max}(child_field:bla)
parent_field:"bla bla"^10
Thanks,
Mic