Neil, quick hint. Can't you run Solr (jetty) with -ea ? my feeling is that nested query (which you put *:*<http://localhost:8090/solr/select?q=%7B%21child+of=doc_type:parent%7D*:*>) should be orthogonal to children, that's confirmed by assert. That's true for {!parent} at least.
On Fri, Nov 22, 2013 at 5:40 PM, Neil Ireson <n.ire...@sheffield.ac.uk>wrote: > Some further odd behaviour. For my index > > http://localhost:8090/solr/select?q={!child+of=doc_type:parent}*:* > > Returns a numFound=“22984”, when there are only 2910 documents in the > index (748 parents, 2162 children). > > > > > On 22 Nov 2013, at 12:28, Neil Ireson <n.ire...@sheffield.ac.uk> wrote: > > > > > Note sure if this is a bug but, for me, it was unexpected behaviour. > > > > http://localhost:8090/solr/select?q={!child+of=doc_type:parent}*:* > > > > returns all the child docs, as expected, however > > > > http://localhost:8090/solr/select?q={!child+of=doc_type:parent} > > > > returns all the parent docs. > > > > This seems wrong to me, especially as the following query also returns > all the parent docs, which would make the two query equivalent: > > > > http://localhost:8090/solr/select?q={!parent+which=doc_type:parent} > > > > > > > > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>