lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Ireson <n.ire...@sheffield.ac.uk>
Subject Re: Possible parent/child query bug
Date Fri, 22 Nov 2013 13:40:28 GMT
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.ireson@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}
> 
> 
> 


Mime
View raw message