lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <m...@apache.org>
Subject Re: Does {!child} query support nested Queries ("v=")
Date Thu, 02 Mar 2017 20:42:50 GMT
Hello, Frank!

The closest equivalent would be  q=+type:userAccount +givenName:test*
And make sure please that it's parsed correctly with debugQuery=true.
Can you also narrow the query to troubleshoot the difference?
ahhh I probably understood.. shards results are merged by uniqueKey, can
you share your schema and sample docs?

On Thu, Mar 2, 2017 at 5:53 PM, Kelly, Frank <frank.kelly@here.com> wrote:

> This is Solr Cloud 5.3.1
>
> I have a query like the following
> q={!child of="type:userAccount" v="givenName:test*”}
>
> Intent: Show me all children of the type:userAccount where
> userAccount.givenName:test*
>
> If I run the query multiple times I get a very different numFound
> difference 186,560 to 187,412 (+/0 500).
>
> If I run the “normal” query on just the  parents
> q=type:userAccount givenName:test*
>
> I get a very stable numFound
>
> Reading the docs it’s not documented as supported but neither do I get an
> error
> https://cwiki.apache.org/confluence/display/solr/Other+Parsers
>
> Am I using nestedQueries correctly?
>
> -Frank
>
>
>
>
> [image: Description: Macintosh
> HD:Users:jerchow:Downloads:Asset_Package_01_160721:HERE_Logo_2016:sRGB:PDF:HERE_Logo_2016_POS_sRGB.pdf]
>
>
>
> *Frank Kelly*
>
> *Principal Software Engineer*
>
> Identity Profile Team (SCBE, Traces, CDA)
>
>
> HERE
>
> 5 Wayside Rd, Burlington, MA 01803, USA
>
> *42° 29' 7" N 71° 11' 32" W*
>
>
> [image: Description:
> /Users/nussbaum/_WORK/PROJECTS/20160726_HERE_EMail_Signature/_Layout/_Images/20160726_HERE_EMail_Signature_360.gif]
> <http://360.here.com/>    [image: Description:
> /Users/nussbaum/_WORK/PROJECTS/20160726_HERE_EMail_Signature/_Layout/_Images/20160726_HERE_EMail_Signature_Twitter.gif]
> <https://www.twitter.com/here>   [image: Description:
> /Users/nussbaum/_WORK/PROJECTS/20160726_HERE_EMail_Signature/_Layout/_Images/20160726_HERE_EMail_Signature_FB.gif]
> <https://www.facebook.com/here>    [image: Description:
> /Users/nussbaum/_WORK/PROJECTS/20160726_HERE_EMail_Signature/_Layout/_Images/20160726_HERE_EMail_Signature_IN.gif]
> <https://www.linkedin.com/company/heremaps>    [image: Description:
> /Users/nussbaum/_WORK/PROJECTS/20160726_HERE_EMail_Signature/_Layout/_Images/20160726_HERE_EMail_Signature_Insta.gif]
> <https://www.instagram.com/here/>
>



-- 
Sincerely yours
Mikhail Khludnev

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message