This will probably work better without child documents and joins.

I would denormalize into actor documents and movie documents. At least, that’s 
what I did at Netflix.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Oct 31, 2015, at 1:17 PM, Yangrui Guo <guoyang...@gmail.com> wrote:
> 
> Hi I'm using solr to search imdb database. I set the parent entity to
> include the name for each actor/actress and child entity for his movies.
> Because user might either enter a movie or a person I did not specify which
> entity solr should return. When I just search q=Kate AND Winslet without
> block join solr returned me the correct result. However, when I search
> {!parent which="type:parent"}+(Kate AND Winslet) solr seemed to have
> returned all document containing just term "Kate". I tried quoting the
> terms but the order needs to be exactly "Kate Winslet". Is there any method
> I can boost higher the score of the document which includes the terms in
> the same field?
> 
> Yangrui

Reply via email to